I am trying to send emails from my Odoo 10 installation. To do this, I configured the outgoing mail server with Gmail SMTP as follows:
SMTP Server: smtp.gmail.com
SMTP Port: 465
Priority: 10
Connection Security: SSL/TLS
I also set up a Gmail account to accept less secure connections from the outside, and when I run the test from the Odoo email configuration menu, I get the following message:
Connection Test Succeeded! Everything seems properly set up!
BUT . If I try to send real mail using Odoo, I get the following error:
Mail Delivery Failed
Mail delivery failed via SMTP server 'localhost'.
error: 111
Connection refused
I do not know what to do, I searched it on the Internet, but did not find anything. Hope someone can help me. Thank you very much in advance.
source
share