Skip to Content
Menú
This question has been flagged
2 Respostes
20749 Vistes

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
Best Answer

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
Best Answer

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
Related Posts Respostes Vistes Activitat
3
de febr. 18
4312
1
de jul. 19
14337
3
d’oct. 24
3345
1
de maig 17
5297
4
de juny 24
31834