System.Net.Mail.SmtpException: Server does not support secure connections.
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.comI 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
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