System.Net.Mail.SmtpException: Server does not support secur

Posted by Community Admin on 03-Aug-2018 18:20

System.Net.Mail.SmtpException: Server does not support secure connections.

All Replies

Posted by Community Admin on 12-Jun-2014 00:00

I am getting an exception " System.Net.Mail.SmtpException:: Server does not support secure 

connections." when I try sending emails using office365.

Under Administration >> Settings >> Advance >> System>> SMTP, I populated the following settings:

host: smtp.office365.com
Port: 587
Username: xxxxx@xxxxx.com
Password: xxxxxxx
DeliveryMethod: Network
EnableSSL: [ Checked ]
Timeout: 10000
DefaultSenderEmailAddress: xxxxx@xxx.com
EmailSubjectEncoding: uft-8 
EmailBodyEncoding: utf-8

I am not sure why I am having this problem. It works in my local machine but it 

doesn't work in production or my build environment.

Any ideas why I am having this problem?

Thank you for your time, 

Sarlin

Posted by Community Admin on 13-Jun-2014 00:00

Hi Sarlin,

I think you need to change your port to 465, since you are using SSL. I'm using port 587 together with TLS, but I don't think that protocol is supported inside these SMTP parameters.

Kind regards,
Daniel

This thread is closed