Delivery reports and read receipts in PHP mail

后端 未结 4 1205
陌清茗
陌清茗 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:53

    Gmail blocks methods such as:

    img src="http://yourdomain/tracking.php?id=EMAIL_ID" width="0" height="0"

    This is because the image is retrieved from a proxy. Since the URL contains variables and not a real image file, the image will not be shown. The tracker would be useless.

    I've personally experienced this as I build my own newsletter system.

提交回复
热议问题