自动检查传入电子邮件

发布于 2024-11-12 17:05:27 字数 184 浏览 5 评论 0原文

他们是否可以在服务器端或客户端进行代码检查新收到的电子邮件回复并以某种方式注册它们?我读到使用一种称为反向 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

香草可樂 2024-11-19 17:05:27

将其分为两个任务:

  1. 检查服务器上的电子邮件
  2. 客户端和服务器之间的通信

对于 1:消息具有 Message-ID 标头以及可选的 References 和 < code>In-Reply-To 标头,允许您将对话组合在一起。请注意,您还必须跟踪已发送的消息才能正常工作(因为您收到的回复具有您在 In-Reply-To 中发送的消息的 Message-ID 标头)。

对于 2:总括术语似乎是 Comet

Split that into two tasks:

  1. Checking for e-mails on the server
  2. Communication between client and server

For 1: messages have a Message-ID header and optionally a References and an In-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 the Message-ID of a message that you sent in the In-Reply-To header).

For 2: the umbrella term seems to be Comet

攒一口袋星星 2024-11-19 17:05:27
http://www.phpclasses.org/package/2-PHP-Access-to-e-mail-mailboxes-using-the-POP3-protocol.html

这里是弹出邮件、跟踪新邮件的解决方案,每封邮件都有唯一的 ID,我们可以用它来跟踪新邮件。

http://www.phpclasses.org/package/2-PHP-Access-to-e-mail-mailboxes-using-the-POP3-protocol.html

Here solution for poping mail, keeping track of new ones, each message has unique id we can use that to track new one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文