We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddeboer/imap version : 1.14.2 PHP version : 8.0 IMAP provider : Outlook, Hotmail and cPanel
Only for Outlook/Hotmail and cPanel based IMAP (ESP) the service seems to be spitting "Cannot reopen mailbox XYZ" intermittently.
$server = new Server($hostname, $port, flags:'/imap/ssl/novalidate-cert', retries:2); $connection = $server->authenticate($username, $password); $allMailboxes = $connection->getMailboxes(); foreach ($allMailboxes as $mailbox) { if($mailboxTobeFound == $mailbox->getName()){ $today = new \DateTimeImmutable(); $cutOffDaysAgo = $today->sub(new \DateInterval('P'.$cutOffDays.'D')); $search = new SearchExpression(); $search->addCondition(new \Ddeboer\Imap\Search\Text\Subject('subject filter')); $search->addCondition(new \Ddeboer\Imap\Search\Date\Before($cutOffDaysAgo)); $allMessages = $mailbox->getMessages($search); } }
The tested outlook/hotmail were on free version, and not on enterprise version of microsoft email.
The text was updated successfully, but these errors were encountered:
I have the same problem with Office365 accounts.
Sorry, something went wrong.
I have the same problem with 163 email
No branches or pull requests
ddeboer/imap version : 1.14.2
PHP version : 8.0
IMAP provider : Outlook, Hotmail and cPanel
Only for Outlook/Hotmail and cPanel based IMAP (ESP) the service seems to be spitting "Cannot reopen mailbox XYZ" intermittently.
The tested outlook/hotmail were on free version, and not on enterprise version of microsoft email.
The text was updated successfully, but these errors were encountered: