Odoo 10: Mail delivery error (error: 111)

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.

+4
source share
1 answer

, odoo emial, " SMTP-" localhost ". odoo . " " . gmail " 1 ", localhost -" 2" .

: . . , .

+4

Source: https://habr.com/ru/post/1668001/


All Articles