Delivery reports and read receipts in PHP mail

后端 未结 4 1214
陌清茗
陌清茗 2020-12-01 00:11

Does anyone of you know off by hand what mail headers to add in order to get a read receipt and delivery report? This now being when you use the normal PHP mail function. No

4条回答
  •  青春惊慌失措
    2020-12-01 00:47

    What you could also do is embed an img (assuming that you're sending the email as text/html) tag that has in its source the following:

    
    

    where tracking.php is a file that would be opened when the email is also opened (assuming images are activated) and then you can catch on your side the parameter id and check it against a stored id (database or file).

    I am doing this for a newsletter manager to count the number of views.

提交回复
热议问题