Digital Experience Management
cancel
Showing results for 
Search instead for 
Did you mean: 

CMS Knowledge Base

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 (2)
Version history
Revision #:
2 of 2
Last update:
‎05-01-2019 12:05 PM
Updated by:
 
Contributors
Looking for more?
Ask in Discussions
Developers

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.