Skip to Content
Menu
This question has been flagged
4 Replies
2998 Views

I try to build website with odoo 13 on google cloud hosting. Everything works fine but when i try to setup outgoing mail server it replay the following message -

Connection Test Failed! Here is what we got instead: 534 5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbu 5.7.14 Q4wXBs0A6kHhBoJgEFo9eBLdMwqsSo2x0359f0LiO2obY4CmH_blHzqMokifr93NVCmdp 5.7.14 8EylzJxDhNouddbeZdy54WEalFFNNNpZet0odRaf4Rs8fC7M1jFI1UYoPl-koYc7> 5.7.14 Please log in via your web browser and then try again. 5.7.14 Learn more at 5.7.14 https://support.google.com/mail/answer/78754 u15sm8878489iog.18 - gsmtp

I allow "less secure app" on my Gmail account.

I try both 465 and 587 port. But every time I got the same message.


Please help me to solve the issue. 

Avatar
Discard
Best Answer

did you receive emaif from Google saying someone trying to login to your email? 

Avatar
Discard
Author

Yes I receive email frog google.

that should give you an indication on how to solve the issue. The problem is not with Odoo, it's about authentication within Google.

you probably need to redo the 'allow less secure apps'. Google switches it off if it's not used.

if all that doesn't work, and you keep getting messages you need to verify your account etc., try this page: https://www.google.com/accounts/DisplayUnlockCaptcha

that worked for me.

Author

Thanks julia van orsouw, https://www.google.com/accounts/DisplayUnlockCaptcha works for me.

Best Answer

Please go to Manage your Google Account and select Security



And turn on 2-Step Verification, after that, you will get the option for App passwords


Now create an App password and use that instead of the password in the odoo email configuration settings.


Hope this helps.
Avatar
Discard
Best Answer

\https://myaccount.google.com/lesssecureapps?pli=1 

Open the above link and turn off secure access 

Avatar
Discard
Author

I did allow less secure apps on \https://myaccount.google.com/lesssecureapps?pli=1 but nothing change.

Author Best Answer

I did allow less secure apps on \https://myaccount.google.com/lesssecureapps?pli=1  but nothing change.

Avatar
Discard