odooodoo-10outgoing-mail

Odoo email usersname and password not accepted for configuring outgoing mail servers


While configuring the outgoing email server, I am facing the issue which I have shown below in the image.

enter image description here

Connection Test Failed! Here is what we got instead:
535
5.7.8 Username and Password not accepted. Learn more at
5.7.8 https://support.google.com/mail/?p=BadCredentials d80sm175552804pfm.146 - 
gsmtp

How can resolve this issue?


Solution

  • I think that your configuration is OK, but that doesn't enough to send email from odoo, you have to configure your email account too

    1. Navigate to https://myaccount.google.com/
    2. Click on Apps with account access
    3. Than select 'Allow less secure apps'

    enter image description here