How to Configure Outgoing Mail Server with Gmail SMTP without enabling the Less Secure Apps Access ?

Kiran K

How to Connect Odoo to Google SMTP without enabling the Less Secure Apps Access as

Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.

Kiran K
Best Answer

You need to do Is Just Create App Password and you'll be able to use SMTP.

Follow the below step to Create App Password.

- First of all Login in to Your Gmail Account.

- And then Go to the My Account Section

- Open the Security tab in the Sidebar.

- Then You can see There is a 'Sigining in to Google' section, Make Sure you have turned on two steps verification if Not Then Turn On two steps verification.

- When You Turn On Your 2-Step Verification then you'll be able to see the App Password option.

- And Now Click on App Passwords. Then select app as Mail and select your corresponding device as others and give any name (eg: Odoo).

- Then Click on Generate to create App Password.

- Now your app Password is been created

- Goto Odoo, Settings > Technical > Outgoing Mail Servers > Open the record and replace your password with the app-generated password and Test Connection