SMTP connection to Office 365

SSLStartMode must be set to Explicit to connect to Office 365 via SMTP.

Date Entered: 08/16/2013    Last Updated: 08/16/2013

Office 365 requires explicit SSL because it uses a non-standard port. For example:

For HTMLMailerS:
htmlmailers1.MailServer = "";
htmlmailers1.MailPort = 587;
htmlmailers1.SSLStartMode = HtmlmailersSSLStartModes.sslExplicit;
smtps1.MailServer = "";
smtps1.MailPort = 587;
smtps1.SSLStartMode = SmtpsSSLStartModes.sslExplicit;

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at