Odoo Help


outgoing mail configuration showing error

sneha antony
on 2/20/14, 5:19 AM 7,716 views

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?

Mohammed Mansour
On 11/21/15, 7:17 AM

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


Kris Krnacs
On 11/20/15, 1:17 PM

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!


Krupesh Laiya
On 2/21/14, 3:03 AM

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.

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

sneha antony
on 2/24/14, 12:48 AM

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

on 5/1/17, 8:19 AM

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.


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

0 follower(s)


Asked: 2/20/14, 5:19 AM
Seen: 7716 times
Last updated: 11/21/15, 7:17 AM