Odoo Help


Imposible to configure properly an outgoing mail account with google gmail account.

on 6/23/15, 4:44 PM 882 views

For me it is imposible to configure properly an outgoing mail account with google gmail account.




But it does not work. Do you know anyone with mail working. Is it a fake option os a bug.

Did I forget something?

Thank you.

This is the error message Odoo Warning Connection Test Failed! Here is what we got instead: -2 Name or service not known Now I have made some changes smtp.gmail.com instead of smtp.google.com But now I have this error message Odoo Warning* Connection Test Failed! Here is what we got instead: 534 5.7.14 Please log in via your web browser and 5.7.14 then try again. 5.7.14 Learn more at 5.7.14 https://support.google.com/mail/answer/78754 d3sm1093143wic.1 - gsmtp

on 6/23/15, 4:47 PM
On 6/24/15, 4:26 AM

Thank you very much, Ismael. I wil try your solution

Ankit Gauri
On 6/24/15, 4:09 AM

its smtp.gmail.com not google.com 

port :25

connection security :TLS (STARTTLS)
 its working in my project

Ismael Olea
On 6/24/15, 3:54 AM

@Fernando: The problem is Gmail is so secured that it's detecting an access to your account from an unusual place. That's why is asking you to log in a browser window.

I didn't deal with this case but I bet you could go to https://security.google.com/settings/security/apppasswords and create an specific password for this Odoo access. Use this password only for this service. Gmail would give your Odoo server access to your account but it'll prevent using the same password to any other one access case.

Ask me if I couldn't be clear enough.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

1 follower(s)


Asked: 6/23/15, 4:44 PM
Seen: 882 times
Last updated: 6/24/15, 4:27 AM