开发者

Automatic Checking of Incoming Emails

Is their a way to either code server side or client side to check new incoming replies to emails and register them in some w开发者_运维问答ay? 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 :)


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜