You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (please complete the following information):
PHP IMAP version: 5.0.1
PHP Version: 8.1
Type of execution: Web Server
Describe the bug
Unable to fetch mails $mailbox->getMail($$mailId, false);
The used code:
$mailbox = newMailbox(
config('imap.dec_host') . 'INBOX', // IMAP server and mailbox folderconfig('imap.dec_username'), // Username for the before configured mailboxconfig('imap.dec_password'), // Password for the before configured usernamenull, // Directory, where attachments will be saved (optional)'UTF-8', // Server encoding (optional)true, // Trim leading/ending whitespaces of IMAP path (optional)false, // Attachment filename mode (optional; false = random filename; true = original filename)
);
// set some connection arguments (if appropriate)$mailbox->setConnectionArgs(CL_EXPUNGE);
try {
$mailsIds = $mailbox->searchMailbox('UNSEEN');
if (count($mailsIds)) {
foreach ($mailsIdsas$id) {
$mail = $mailbox->getMail($id, false);
}
}
} catch (Throwable$ex) {
report($ex);
}
Additional context
Composer is up to date and all required php extensions are installed.
What could be causing this issue? any ideas?
The text was updated successfully, but these errors were encountered:
@SkylineGTRS same Problem here. Still trying to find out what the problem is. Suddenly did not work anymore with the error message: "imap_fetchheader(): UID does not exist"
Environment (please complete the following information):
Describe the bug$mailbox->getMail($ $mailId, false);
Unable to fetch mails
The used code:
Additional context
Composer is up to date and all required php extensions are installed.
What could be causing this issue? any ideas?
The text was updated successfully, but these errors were encountered: