0

I am trying to do a mail trigger using smtp credentials but it shows

Connection could not be established with host email-smtp.us-east-1.amazonaws.com.php_network_getaddresses: getaddrinfo failed: Name or service not known #0.

Abhishek Agarwal
  • 1,190
  • 2
  • 19
  • 38
  • This pretty much means your server does not know who the smtp server is, looks like an internal server misconfiguration, a dns issue. Contact your host about this, they'll know what to do or if you are on a vps with root access, edit /etc/resolv.conf and add google's nameservers in the file, see https://developers.google.com/speed/public-dns/docs/usingv – B2725 Aug 18 '17 at 06:49
  • My port is 465 and host is email-smtp.us-east-1.amazonaws.com and also i was checked for other port also but not working – Saranya Miss Aug 18 '17 at 06:52
  • Kindly send me a google nameservers previous link is not opening – Saranya Miss Aug 18 '17 at 06:58
  • https://developers.google.com/speed/public-dns/docs/using – B2725 Aug 18 '17 at 06:59
  • I had add the nameserver but it showing the same error. – Saranya Miss Aug 18 '17 at 07:04
  • I had added the following nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844 in /etc/resolv.conf. But it shows the same error. Kindly any one clarify it. – Saranya Miss Aug 18 '17 at 07:25
  • Kindly any one give the explanation about the above issue. – Saranya Miss Aug 23 '17 at 09:03

0 Answers0