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
Post a Comment