This question has been flagged

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.



Avatar
Discard

This is very useful. Thank you for this post

Are there also settings like this for Microsoft?

Author 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 https://myaccount.google.com

- 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

Avatar
Discard

Thanks for the detail level explanation with screenshots

Thank you very much. Your sharing is really helpful.

Best Answer

Hi, 

You can follow the following link to setup gmail SMTP outgoing mail server in Odoo:

https://youtu.be/bx8JXli-Y6A

Thanks

Avatar
Discard
Best Answer

You can try this app if needed to send individual users smtp setting for each Odoo user's from 'user preference'

https://apps.odoo.com/apps/modules/14.0/advanced_email_configurator/

Avatar
Discard

That's off topic...