Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我Zend_Mail_Storage_Imap用来收集电子邮件。
Zend_Mail_Storage_Imap
在某些特殊情况下,在我阅读完邮件后,我想再次将其标记为未读。
我怎么能在zend框架中做到这一点?
谢谢,鲍里斯。
恐怕我无法访问我在其中使用的代码,但类似于以下内容的内容敲响了警钟:
foreach ($mail as $message_id => $message) { $mail->setFlags( $mail->getNumberByUniqueId($mail->getUniqueId($message_id)), array(Zend_Mail_Storage::FLAG_RECENT) ); }