Hi overflowers,
After reading a message's state in Zend_Mail_Storage_Imap with $message->getHeaders(). How do I then set that mail as read?
setHeaders(Zend_Mail_Storage::FLAG_SEEN);
Thanks,
Dan
Hi overflowers,
After reading a message's state in Zend_Mail_Storage_Imap with $message->getHeaders(). How do I then set that mail as read?
setHeaders(Zend_Mail_Storage::FLAG_SEEN);
Thanks,
Dan
$imap = new Zend_Mail_Storage_Imap($config);
$imap->setFlags($message_id,array(Zend_Mail_Storage::FLAG_SEEN));