如何检测电子邮件是否已被收件人视为垃圾邮件而拒绝?
有没有办法检查发送的电子邮件是否已被标记为垃圾邮件或已删除?
我使用 Rails 3。
Is there a way to check if a sent e-mail has been marked as spam or deleted?
I work with Rails 3.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,没有。当您的邮件发送到收件人的 SMTP 服务器后,就无法再对其进行追踪。
我知道您在想什么:一些邮件客户端如何追踪电子邮件是否已被阅读(例如在 Outlook 中)。他们可以通过在邮件 (html) 中添加一点
img
标签来实现此目的。当用户打开邮件时,它将打开img
的src
属性中指定的路径。由于这是一个脚本(例如 PHP 或其他脚本),因此当邮件被打开时,它可以自动将标志设置为“已读”。当然,还有其他一些方法可以追踪这一点,但我认为这是最受欢迎的一种。
但是,这无法检查邮件是否已被拒绝、删除或移动到垃圾邮件文件夹。
No, there isn't. After your mail has been sent to your receiver's SMTP server, there's no way to track it down anymore.
I know what you're thinking: how can some mail-clients track down wether an email has been read or not (e.g. in Outlook). They can do this by adding a little
img
-tag to their mails (html). When a user opens the mail, it'll open the path specified in theimg
'ssrc
-attribute. Since that's a script (like PHP or something), it can automatically sets a flag to 'seen' when a mail has been opened.Of course, there are some other ways to track this down, but I think this is the most popular one.
However, this can't be done to check whether a mail has been rejected, deleted or moved to the spam-folder.