Skip to Content
Menu
This question has been flagged

I tried to configure the out going emails following the usual steps. Steps were Step 1: Enter the description for which e-mail you want (Eg: company@gmail.com)

Step 2: From your email,select the settings and click Forwarding and POP/IMAP

Step 3: Select the check box “Enable POP for mail that arrives from now on” and click configuration instructions

Step 4: Select the check box “I want to enable POP”

Step 5: Select the check box “Other” there by you get Standard Configuration instructions(Outgoing and incoming mail servers)

Step 6: From Outgoing Mail (SMTP) Server – requires TLS or SSL , copy “smtp.gmail.com” and paste in your SMTP Server

Step 7: Select Connection Security as SSL/TLS

Step 8: Enter your full Email id as User name (Eg: company@gmail.com)

Step 9: Enter your Email password

Step 10: Click Test Connection,all settings are correct then showing a pop up message

Step 11: Then Save.

But after following the steps to configure the outgoing emails and when clicked on Test Connection button ,following OpenErp Warning is generated.

Connection Test Failed!

Here is what we got instead: -2 Name or service not known What might be the possible reason for the error?

Avatar
Discard
Best Answer

Thanh you very much

Avatar
Discard
Best Answer

Is this for Microsoft 365 please?

Avatar
Discard
Best Answer

For gmail, you should using app password, and for the app password, if you have already make a connection using app password in anoher application, then the app password will not work on the 2nd application. So the best option is you need to generate a new app password then you use it to make connection. I have a blog post here: https://skyerp.net/blog/odoo-erp-3/huong-dan-cau-hinh-gmail-e-gui-va-nhan-email-trong-odoo-32 hope this help

Avatar
Discard
Best Answer

Hi you can follow this:


Avatar
Discard
Best Answer

video reference here :



Avatar
Discard
Best Answer

I found some codes but they do not correspond. I mean the outgoing mail configuration keeps showing errors no matter what.

Avatar
Discard
Best Answer

You can view this PPT file on slide-share, it will help you in the configuration, and solving your issue.

http://www.slideshare.net/engmohamans/outgoing-mail-servers-configuration


Avatar
Discard

is there such a presentation for Microsoft 365?

Best Answer

Try to check yor login user eail alias in:

up right corner click on User -> Settings --> email alias

This alias should be a valid SMTP RECOGNIZED email.

Hope it helps!

Sincerely

Avatar
Discard
Best Answer

Please find the attachment and follow the step:

  • Description: add name of user

  • priority: 10

  • SMTP server: pop.gmail.com

  • Debugging: True

  • SMTP port : 465

  • Connection security: SSL/TSL

  • User Name: mail id

  • Password : password of your mail id

and check test connection successfully connection will establish with mail server.

Avatar
Discard
Author

Hi,followed all the steps but still the same error is shown.Connection Test Failed!

Here is what we got instead: -2 Name or service not known

me too. works fine in odoo 10,9 but not working in v7

Related Posts Replies Views Activity
3
Aug 24
5886
1
Aug 24
4591
0
Mar 15
3788
0
Mar 15
3642
0
Mar 15
4089