Odoo Help


Connection test failed! while testing the outgoing email configuration

on 2/23/13, 11:15 AM 3,170 views

I got this error when i was configuring the outgoing email on my local machine.

Connection test failed! Here is what we got instead:-2 Name or service not known

These are my settings: Name: localhost SMTP Server: smtp.gmail.com Priority: 10 SMTP Port: 465 Connection Security: TLS(STARTTLS) Please note that i tried both TLS(STARTTLS) and SSL/TLS but none of them works!

Please help.

Mark Albrecht
On 2/23/13, 8:03 PM

I use gmail smtp in V7 / Linux setup with no issue. Here are my settings.

SMTP Server: smtp.gmail.com Priority: 5 SMTP Port: 465 Connection Security: SSL/TLS and my user name and password

Some ISPs block SMTP traffic so you have to use their SMTP server, if you have not already, try testing with an email client from the host machine.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 2/23/13, 11:15 AM
Seen: 3170 times
Last updated: 3/16/15, 8:10 AM