-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
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
keepUnseen not working correctly with Hotmail #84
Comments
Does Hotmail still exist? 😖 |
Yes it does. Not my choice. I am just the dev that has to work with it :/ |
I’m not sure why this wouldn’t work. Could you try to keep it unseen with PHP’s native IMAP functions? |
Will try that tonight. I just tried with Gmail and I was able to replicate the issue there too. |
Okay, let me know. We do have a test that should verify the keepUnseen behaviour on Gmail. |
An update: Just ran the unit tests. I had 13 exceptions all the same thing But I did have a failure in the Mark Unseen Test There was 1 failure:
I tried this with my work email which is hosted with gmail. I will still try the PHP native functions later. |
More information: I have managed to put in a work around by modifying the line 319 in Part.php protected function doGetContent($keepUnseen = true) Forcing this true will keep the messages from being marked as read. Which works for my use case right now. |
Solved by #95 |
Trying to use the following sample code with hotmail:
$message->keepUnseen()->getBodyHtml();
It is not keeping the messages as unread. Tried forcing a boolean in keepUnseen
$message->keepUnseen(true)->getBodyHtml();
Did not work. Tried forcing the class variable to be true by default on line 21 of Message.php, This also did not work.
The text was updated successfully, but these errors were encountered: