Detect new incoming messages
mitmelon opened this issue · comments
Adeyeye George commented
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
Adeyeye George commented
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...