PHP mail() function does not work on web-host

前端 未结 5 1021
野趣味
野趣味 2021-01-26 00:25

I\'m having issues sending emails using the php mail() function. I know the php script I have works because I have an identical copy of it on another web-hosting company and it

5条回答
  •  甜味超标
    2021-01-26 01:07

    Write a really simple script, like

    Execute it, and make sure the mail is not caught by your spam filter (if you can afford it, set up your own domain/DNS server, netcat -l -p 25 is sufficient).

    If that doesn't work, contact the support of your web hoster. Do they have an FAQ or any other documentation?

提交回复
热议问题