Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
20753 Vistas

Hi, 

when i added the configuration of smtp :

Smtp server: smtp.gmail.com

Smtp port: 465

Connection Security: SSL/TLS

Enable debugging mode and provide your username: user@gmail.com and password.

an error message appeared 

Échec du test de connexion !Voilà ce que nous avons à la place:11004getaddrinfo failed
what's th solution plz ?

thanks

Avatar
Descartar
Mejor respuesta

To fix the "11004 getaddrinfo failed" error when connecting to Gmail SMTP:

  1. Check DNS: Ensure your server can resolve smtp.gmail.com. Use the command ping smtp.gmail.com to test.
  2. Firewall Settings: Confirm that your firewall allows outbound connections on port 465. If you’re using a VPS with port 25 open, visit Arzhost.com to ensure it’s properly configured for SMTP.
  3. Correct Configuration:
    • SMTP Server: smtp.gmail.com
    • Port: 465
    • Connection Security: SSL/TLS
  4. Google Account Settings: If using a standard password, ensure Less Secure Apps is enabled, or use an App Password if 2-Step Verification is active.

After checking these, try the connection again.

Avatar
Descartar
Mejor respuesta

seems like the entered username and password are incorrect. you can follow the yenthe's tutorial to setup the outgoing mail servers.

https://www.odoo.yenthevg.com/configure-outgoing-mailservers/

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
feb 18
4315
1
jul 19
14348
3
oct 24
3352
1
may 17
5310
4
jun 24
31864