Current:
SmtpClient mailClient = new
SmtpClient (ConfigurationManager.AppSettings.Get("MailServer"));
mailClient.Send(message);
Proposed:
SmtpClient sClient = new SmtpClient("email-smtp.us-east-1.amazonaws.com",587);
sClient.Credentials = new System.Net.NetworkCredential(”xxxx", ”xxxx");
sClient.EnableSsl = true;
sClient.Send(mailMsg);
Comments
0 comments
Please sign in to leave a comment.