Is there a way to determine whether an e-mail reaches its destination?

前端 未结 12 2296
盖世英雄少女心
盖世英雄少女心 2020-12-09 21:40

I have a PHP script that sends out critical e-mails that needs to reach its destination. I know how to check whether the e-mail sent successfully, the only issue is knowing

12条回答
  •  猫巷女王i
    2020-12-09 22:20

    The SMTP protocol is asynchronous, so the only guaranteed feedback can be returned by the users mail client. In case there are problems with the delivery you will get back bounce emails to the address defined in the envelope sender (mail header Return-Path) Timing of these bounces are unpredictable and undefined. Tracking pixels in the HTML email body are so far the best way to report you that the user has actually opened the email.

提交回复
热议问题