Esempio n. 1
0
 public static bool Send(MailMessage mailMessage, int port, string username, string password)
 {
     SmtpServerHelper helper = new SmtpServerHelper();
     log.TraceLog("port: " + port.ToString());
     return helper.SendEmail(_SmtpServer, port, username, password, mailMessage);
 }
Esempio n. 2
0
 public static bool Send(MailMessage mailMessage, string username, string password)
 {
     SmtpServerHelper helper = new SmtpServerHelper();
     return helper.SendEmail(_SmtpServer, 0x19, username, password, mailMessage);
 }