php - zend framework : set imap mail to read, or move it to a folder -


After reading with message message in Zend_Mail_Storage_Imap with $ message-> getHeaders (). Then how did I read that mail?

set header (Zend_Mail_Storage :: FLAG_SEEN);

  $ imap = New Zend_Mail_Storage_Imap ($ config); $ Imap- & gt; SetFlags ($ message_id, array (Zend_Mail_Storage :: FLAG_SEEN));  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -