开发者

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

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_开发者_StackOverflow社区Storage::FLAG_SEEN);

Thanks,

Dan


$imap = new Zend_Mail_Storage_Imap($config);

$imap->setFlags($message_id,array(Zend_Mail_Storage::FLAG_SEEN));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜