Not receiving email from the PHP mail() method

后端 未结 3 674
太阳男子
太阳男子 2020-12-18 06:48

I have tried to set-up an email.html and an action.php so that someone can send an email from a website. Here is the code in email.html

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-18 07:18

    First check result of the mail. You also should check the php error log file.

    when your mail is really going out, use an valid sender email, the you can get bounces from the receiving mail server.

    don't forget, there are many anti spam technology's. most important is that you respect and know how SPF is working. that's one of the most fails, websites doesn't send emails which don't arrive at recipient.

提交回复
热议问题