有没有办法确定电子邮件是否到达目的地? [英] Is there a way to determine whether an e-mail reaches its destination?

查看:189
本文介绍了有没有办法确定电子邮件是否到达目的地?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个PHP脚本发送需要达到目的地的关键电子邮件。我知道如何检查电子邮件是否成功发送,唯一的问题是知道是否真的得到收件人。



任何建议?如果没有办法知道,你会如何处理这种情况?

解决方案

如果你使电子邮件基于HTML,你可以包括其中包含具有收件人唯一信息的URL的图像。您可以构建您的应用程序,以便这些URL触发一些代码,以在返回所需的图像数据之前将该特定电子邮件标记为已读。



为了完全有效,图像将以形成电子邮件的关键部分,以便收件人具有使他们的电子邮件客户端抓住图像。您还可以使电子邮件的纯文本包含一个URL以检索完整的邮件,再次允许您跟踪收据。



您采取这些想法有多远取决于在为什么你需要知道它已被阅读,你想在多大程度上希望通过电子邮件发送收件人,他们无法剪辑,轻松地在移动设备上阅读,听一下屏幕阅读器等...


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 whether it actually got to its recipient.

Any suggestions? If there is no way of knowing, how would you handle this situation?

解决方案

If you make the email HTML based, you can include images in it which contain URLs with information unique to the recipient. You could structure your application so that these URLs trigger some code to mark that particular email as read before returning the required image data.

To be totally effective, the images would have to form a key part of the email, so that the recipient has to make their email client grab the images. You could also make the plain text part of the email just contain a URL to retrieve the full message, again allowing you to track receipt.

How far you take these ideas depends on why you need to know it's been read and to what extent you want to potentially annoy the recipient with an email they can't cut'n'paste, read easily on mobile device, listen to with a screenreader, etc...

这篇关于有没有办法确定电子邮件是否到达目的地?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆