Very useful class! Now, a question. What can I do to know if a certain email message is flagged as, for example, deleted ?
Should I use $imap->fetch_mail("$UID","FLAGS") and then parse the output, looking for \\Deleted ?
Is there anything like imap_fetch_overview() from PHP IMAP extension, that is capable of returning a flag value in an array -not a string- ?