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

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -

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

iphone - Smoothing a rounded stroke in Core Graphics -