Cannot get MS Outlook to send emails from Nop Admin Panel

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 3 años
These are my direct settings per microsoft 365

Server name: smtp.office365.com
Port: 587
Encryption method: STARTTLS


Email address - [email protected]
Email display name - Orders Dept
Host - smtp.office365.com
Port - 587
User - [email protected]
Password -  ********
SSL  - true

This is the error that I am getting

An error occurred while attempting to establish an SSL or TLS connection. This usually means that the SSL certificate presented by the server is not trusted by the system for one or more of the following reasons: 1. The server is using a self-signed certificate which cannot be verified. 2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate. 3. A Certificate Authority CRL server for one or more of the certificates in the chain is temporarily unavailable. 4. The certificate presented by the server is expired or invalid. Another possibility is that you are trying to connect to a port which does not support SSL/TLS. It is also possible that the set of SSL/TLS protocols supported by the client and server do not match. See https://github.com/jstedfast/MailKit/blob/master/FAQ.md#SslHandshakeException for possible solutions.
Hace 3 años
Hi David,

a stab in the dark - Port 465 possibly for SSL, as per this
https://github.com/nopSolutions/nopCommerce/issues/4447

Also, is this on local dev machine, or on a hosting provider? I have read a few things suggesting some hosters (GoDaddy?) can block outbound traffic to mailservers from their VPS products
Hace 3 años
I figured it out.

Turn off Multi-factor authentication for the account you are using to send the email.

I will leave this here in case anyone in the future has issue with Outlook
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.