Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Cannot connect to gmail server

Subscribe

Get notified when there's activity on this post

This question has been flagged
configurationv8outgoingemail
11 Replies
76380 Views
Avatar
Christian Parent

I am on v8, trying to configure imap outgoing and incoming.

I am using the exact same settings as in thunderbird account.

Outgoing:

Servername : smtp.googlemail.com port: 465 username: christian.parent@ekyrail.com Password: ** Connection Security: SSL/TLS

I keep getting an authentification error.

I know that my credential are good, I have tried it. I also tried to do it with my gmail.com email adress, same issue. I have also tried with my local isp settings and it works.

The problem seem to be with gmail only !

Anyone have faced this issue ?

0
Avatar
Discard
Christian Parent
Author

Looks like if I use a gmail account, it will work but, if I use a domain gmail hosted accout (http://ekyrail.com) it wont connect to it !

Avatar
James White
Best Answer

If you generally need to approve a new account sign-in whenever you use GMail on another app, then your solution is to create an App Password.

Great link here: Google: Sign in using App Passwords (https://support.google.com/accounts/answer/185833?hl=en)

In case that link vanishes, here is the basics of what it says:

WHY?

When you sign up for 2-Step Verification, we normally send you verification codes. However, these codes do not work with some apps and devices, like Outlook (or Odoo!!). Instead, you’ll need to authorize the app or device the first time you use it to sign in to your Google Account by generating and entering an App password.

HOW?

  1. Visit your App passwords (https://security.google.com/settings/security/apppasswords) page. You may be asked to sign in to your Google Account.
  2. At the bottom, click Select app and choose the app you’re using.
  3. Click Select device and choose the device you’re using.
  4. Select Generate.
  5. Follow the instructions to enter the App password (the 16 character code in the yellow bar) on your device.
  6. Select Done.

Once you are finished, you won’t see that App password code again. However, you will see a list of apps and devices you’ve created App passwords for.

2
Avatar
Discard
Avatar
saritha sahadevan
Best Answer

Authentication failure may arise due to Invalid response code received from server ( Due to error in the SMTP  Server name).So check your smtp server name is correct .And if that's right ,check your username and password.

For outgoing Sever:
Server name : smtp.gmail.com

Port: 465   

User name: something@gmail.com

Password:****

If this doesn't Work,Then you may be under proxy.

If you are under a proxy

1) Just remove your username and password and click on test connection. see if your connection succeeds

2)Then use this IP  173.194.66.109 instead of smtp.gmail.com


If still it's not working means that the port number of 465 is not opened for your IP. Type 'telnet 173.194.66.109 465' in your command line.It  should Work


4
Avatar
Discard
Avatar
Bejaoui Souheil
Best Answer

Hi,

You have to allow less secure apps to access to your account. By default gmail block odoo and other apps to coonect to your account.

This may help:

https://support.google.com/a/answer/6260879?hl=en

Best regards.

3
Avatar
Discard
Avatar
baxi
Best Answer

For outgoing Sever:

  • Servername : smtp.gmail.com
  • port: 587
  • username: example@example.com
  • Password: "your pasword" or if you have two step verification on then use one time application password
  • Connection Security: SSL/TLS
1
Avatar
Discard
Avatar
Murugan Chinnasamy
Best Answer


This working try it.

https://www.odoo.com/forum/help-1/question/incoming-outgoing-mail-configuration-44842

0
Avatar
Discard
Avatar
Martin
Best Answer

The answer to that problem is to create and use a dedicated "consumer" GMail account, without any special features.

Choosing a suitable name that clarifies its purpose might be a good idea.

Part #3 of this series might help you confirm that you are doing all that is necessary: OpenERP and Google

0
Avatar
Discard
Avatar
Samo Arko
Best Answer

Don't use gmail if you have a choice. A month ago I had to update my apps that use gmail for sending email because it started to throwing not trusted device (every few days, after I added it to trusted) and they are blocking if you send to many email. So that the apps didn't crash I had enclose the email sending in a try except for smtplib.SMTPDataError and smtplib.SMTPAuthenticationError.


0
Avatar
Discard
Avatar
Lucifer White
Best Answer

This to be solved by the user which is going to have the best part of the surface where they can have the information regarding the Gmail server issue which is going to solve out with particular aspects.<a href="https://supportprop58.com/windows-10-audio-crackling/">windows 10 audio crackling</a> through it will be recover the process 

0
Avatar
Discard
Avatar
Jason
Best Answer

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 k190sm8628079pga.73 - gsmtp 


I use app passwords, but for some reason Odoo refused to connect.

0
Avatar
Discard
Avatar
Nick Ace
Best Answer

My test works, its the gmail captha : https://www.google.com/accounts/DisplayUnlockCaptcha 

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Cannot connect to gmail server
configuration v8 outgoing emails
Avatar
0
Mar 15
4641
Error in Test Connection Email
configuration email
Avatar
0
Jan 25
2067
Can I export/Import just settings?
configuration v8
Avatar
3
Sep 24
8214
Email Configuration - v15
configuration email
Avatar
Avatar
1
May 22
4452
how to do email Configuration in openerp 7 (ubuntu)
configuration email
Avatar
Avatar
1
Mar 17
11725
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now