This question has been flagged
2 Replies
7139 Views

I have installed Odoo 10 in Digital Ocean cloud server. Everything is working fine, except mail server.

I tried to configure using below credentials:

smtp server: smtp.gmail.com
port: 465
Connection Security: SSL/TLS

But i getting below error:

Connection Test Failed! Here is what we got instead:
534
5.7.14 <https://accounts.google.com/signin/continue?
sarp=1&scc=1&plt=AKgnsbu8
5.7.14 N6WJLa2VeO6zbTjEmFJlqK-
xwZp_DOLSIEZ2dDpT2_fQfnz5Yi50pFTCHFFzsn0Pt_ZtJq
5.7.14 
12dICdnNGK7724UBxx3AVj8artnFYAHbcB1YhrSgL78hH9SwGp30wZUXmRyWmgEB3XIOex
5.7.14 7NiEAEKY03Qnzn_VWeIEDjjksfrTxKX1em_b6ZVfHo0XIwg2cf-
9mhmvLHoR__vVE7-Vcm
5.7.14 ZCFBNwoCwLA__i4SOAuE5UUPIOQEQ> 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 t53sm493061qtc.66 
- gsmtp

But i have configured in my local machine, it works fine.

How can i resolve this?

Avatar
Discard
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

Hi Kabeer,

Open the Email that you are trying to configure, (ie, open your gmail account), then navigate My account -> Sign in & security -> Allow less secure apps , now the status will be OFF make it ON.

Try this, hope this can solve your issue.

Thanks

Avatar
Discard