예제 #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);
 }
예제 #2
0
 public static bool Send(MailMessage mailMessage, string username, string password)
 {
     SmtpServerHelper helper = new SmtpServerHelper();
     return helper.SendEmail(_SmtpServer, 0x19, username, password, mailMessage);
 }