Ir al contenido
Menú
Se marcó esta pregunta
12 Respuestas
28114 Vistas

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
Descartar
Mejor respuesta

Try to enable Access for less secure apps

Avatar
Descartar
Mejor respuesta

Thanh you very much

Avatar
Descartar
Mejor respuesta

Is this for Microsoft 365 please?

Avatar
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

Hi you can follow this:


Avatar
Descartar
Mejor respuesta

video reference here :



Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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
Descartar

is there such a presentation for Microsoft 365?

Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
3
ago 24
5975
1
ago 24
4685
0
mar 15
3858
0
mar 15
3729
0
mar 15
4153