PHP Classes

Mark message as Read

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Mark message as Read  >  (Un) Subscribe thread alerts  
Subject:Mark message as Read
Summary:How do I mark message as Read & how to know already marked Read
Messages:3
Author:emas
Date:2008-07-28 04:20:12
Update:2008-07-28 05:36:59
 

  1. Mark message as Read   Reply   Report abuse  
Picture of emas emas - 2008-07-28 04:20:13
Hi Manuel, thank you in advance.

How do I mark message as Read and how to know that a message is already marked Read.

I tried looking into the header contents to find out if there is a flag for a read message, but cant seem to find it. And is there a function in Mime parser class to mark a message as read?

Thanks

  2. Re: Mark message as Read   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-07-28 04:41:54 - In reply to message 1 from emas
I am not sure if your question makes much sense.

Usually what marks messages are read is the server that stores the messages. I don't think there is a way to control that if you retrieve messages using the POP3 protocol.

There is no standard to mark messages are read, but many mail systems use the Status: header to store a character that indicates whether the message is read, unread, deleted, etc.. Take a look at this RFC document.

ietf.org/rfc/rfc2076.txt

  3. Re: Mark message as Read   Reply   Report abuse  
Picture of emas emas - 2008-07-28 05:36:59 - In reply to message 2 from Manuel Lemos
Thanks, Manuel.