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.2
Type of execution: Web Server
Describe the bug
Since PhpImap version 4, the mark as seen boolean on getMail() is no longer working. The mail is not marked as seen even if true is passed in. Versions prior to 4 is working as expected.
To Reproduce
Try to get a mail and notice that it is not marked as seen.
The used code:
$mail = $mailbox->getMail($mailsIds[0], true);
Expected behavior
I expected the email to be marked as seen.
The text was updated successfully, but these errors were encountered:
I'm using version 5 via https://github.com/secit-pl/imap-bundle, and I've encountered the same issue as well. It happens only with certain specific emails. To give you an idea: in the same mailbox, I have 4 messages, 3 are marked as read, and one is not, even if I read them individually. If after $mailbox->getMail() I call $mailbox->markMailAsRead($emailId), then it works.
I believe it's something strictly related to the message itself, because I tried having it forwarded to me, and then I personally sent the same message to the mailbox I'm monitoring, and in that case, it gets marked as seen.
Environment (please complete the following information):
Describe the bug
Since PhpImap version 4, the mark as seen boolean on getMail() is no longer working. The mail is not marked as seen even if true is passed in. Versions prior to 4 is working as expected.
To Reproduce
Try to get a mail and notice that it is not marked as seen.
The used code:
Expected behavior
I expected the email to be marked as seen.
The text was updated successfully, but these errors were encountered: