예제 #1
0
        public static bool Send(MailMessage mailMessage, string username, string password)
        {
            var helper = new SmtpServerHelper();

            return(helper.SendEmail(SmtpServer, 25, username, password, mailMessage));
        }
예제 #2
0
 public static bool Send(MailMessage mailMessage, string username, string password)
 {
     var helper = new SmtpServerHelper();
     return helper.SendEmail(SmtpServer, 25, username, password, mailMessage);
 }