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

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

Best practice for URL redirection in ASP.NET web application -