imap - How to get all mails with flagged use php -
i setting webmail. there fold 'flagged' meaning mail flagged. ,these mails mybe in sent folder or in inbox folder or in draft folder. there anyway them quickly?because imap_open function use 1 folder each time.
imap_open("{localhost:993/imap/ssl/novalidate-cert}sent", "username", "password") imap_open("{localhost:993/imap/ssl/novalidate-cert}draft", "username", "password") imap_open("{localhost:993/imap/ssl/novalidate-cert}inbox", "username", "password")
if not , need user loop,then merge 3 part of them together! use paging !oh, that's crazy! can me!
Comments
Post a Comment