This question has been flagged
4 Replies
4194 Views

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


smtp.google.com

465

SSL/TLS


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.

Avatar
Discard

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

Author Best Answer

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

Avatar
Discard
Best Answer

its smtp.gmail.com not google.com 

port :25

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

Avatar
Discard
Best Answer

@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.

Avatar
Discard