How to test if PHP mail() has successfully delivered mail

后端 未结 8 1753
陌清茗
陌清茗 2020-12-18 20:01

How can I test if mail() has successfully delivered mail?

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-18 20:40

    The mail() function alone just notifies you that the "email" you have set up is legit and will be send my your email server.

    You must check separately for the email address to be legit. A good article can be found here

    If these two methods do not work for you well, you can use some "spam" approach using images and your server's log files.

提交回复
热议问题