Odoo Help

0

Cannot connect to gmail server

By
Christian Parent
on 4/11/14, 12:21 PM 8,754 views

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 ?

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 !

Christian Parent
on 4/11/14, 2:54 PM
2
saritha sahadevan
On 1/23/17, 4:57 AM

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


2
Bejaoui Souheil
On 8/12/16, 2:07 PM

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.

0
James White
On 8/16/17, 8:49 PM

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.

0
Murugan Chinnasamy
On 1/24/17, 2:44 AM


This working try it.

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

0
Martin
On 4/14/14, 10:57 AM

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
baxi
On 4/14/14, 7:45 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/11/14, 12:21 PM
Seen: 8754 times
Last updated: 8/16/17, 8:49 PM