1

I installed and configured smtp module with proper details in drupal 7. I tried to send test the mail in windows 2012 server but am getting the below error.

SMTP -> ERROR:

Failed to connect to server: php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.

SMTP Error: Could not connect to SMTP host.

Unable to send e-mail. Contact the site administrator if the problem persists.

image1

image2

Same build is working fine in Windows XP, 07 and ubuntu environments.

Not able to find the root cause. Any suggestions are welcome.

4
  • What's in your logs? Anything except "temporary error"? – Mołot Oct 12 '15 at 16:49
  • check the firewall settings.. – Rupesh Oct 13 '15 at 2:35
  • Thanks Rupesh, May I know what should I check in firewall settings? – Pratap Reddy Mamidi Oct 13 '15 at 5:45
  • From my experience, GMail has not been working with port 25/TLS, and recently, it stopped working with SSL as well, unless your site runs under https. – Alexei Rayu May 31 '16 at 10:36

Browse other questions tagged or ask your own question.