imap
imap copied to clipboard
Detect new incoming messages
Please can a method be included to detect new incoming messages only... I know cron will be used for this but i cant find a method that does it for the cron to run
I finally found a way of doing this...
$search = new SearchExpression();
$search->addCondition(new Unseen());
$messages = $this->mailbox->getMessages($search);
No longer a new feature
Thanks...