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

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