İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
20799 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Şub 18
4347
1
Tem 19
14443
3
Eki 24
3464
1
May 17
5352
4
Haz 24
32016