自动检查传入电子邮件
他们是否可以在服务器端或客户端进行代码检查新收到的电子邮件回复并以某种方式注册它们?我读到使用一种称为反向 Ajax 的东西,这可能是我应该研究的解决方案来编写我想要的代码。
另一个问题是如何跟踪电子邮件对话?我查看了发送和接收的电子邮件的隐藏标头,它们似乎带有一个唯一的消息 ID,可以用来解决我遇到的问题。
谢谢 :)
Is their a way to either code server side or client side to check new incoming replies to emails and register them in some way? I read upon using something called Reverse Ajax is this possibly the solution I should look into to code what I want.
Also another question is how do you keep track of email conversations? I took at a look at the hidden headers for emails sent and received and it seems that they carry a unique message id which could possibly be used to solve the problem I have.
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将其分为两个任务:
对于 1:消息具有
Message-ID
标头以及可选的References
和 < code>In-Reply-To 标头,允许您将对话组合在一起。请注意,您还必须跟踪已发送的消息才能正常工作(因为您收到的回复具有您在In-Reply-To 中发送的消息的
标头)。Message-ID
对于 2:总括术语似乎是 Comet
Split that into two tasks:
For 1: messages have a
Message-ID
header and optionally aReferences
and anIn-Reply-To
header that allow you to put together conversations. Note that you also have to keep track of sent messages for that to work (because a reply that you receive has theMessage-ID
of a message that you sent in theIn-Reply-To
header).For 2: the umbrella term seems to be Comet
这里是弹出邮件、跟踪新邮件的解决方案,每封邮件都有唯一的 ID,我们可以用它来跟踪新邮件。
Here solution for poping mail, keeping track of new ones, each message has unique id we can use that to track new one.