php_network_getaddresses: getaddrinfo failed: Name or service not known (0) Failed To Connect..!

前端 未结 3 1759
北荒
北荒 2021-01-29 08:35

I am using php mailer function but getting following error.How to fix it ?

2016-01-22 06:15:48 SMTP ERROR: Failed to connect to server: php_network_ge

相关标签:
3条回答
  • 2021-01-29 09:00

    It means that either the address you are trying to connect to does not have a DNS entry, or your DNS is not working. Please read the troubleshooting guide. You also need to update your PHPMailer.

    https://github.com/PHPMailer/PHPMailer/issues/340

    0 讨论(0)
  • 2021-01-29 09:03

    It means your DNS is not working, or you've set your Host value to a non-existent host name. The PHPMailer docs provide ways of testing what the problem is.

    0 讨论(0)
  • 2021-01-29 09:05

    mostly your site has been blocked as you tried to send spam mails in bulk quantity. there is only one way to resolve this is by contacting the host and try to present your case that you did not try to spoil the network. if you can convince them they will unblock

    0 讨论(0)
提交回复
热议问题