MichaelGent
Crownpeak (Retired)

Email differences between SMTP and SES for .NET developers

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);

Labels (1)
Attachments

Can't find what you are looking for?

Find Answers

Search our DXM Forum to find answers to questions asked by other DXM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question