-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Message "11964" does not exist: imap_fetchstructure(): Bad message number #310
Comments
Hi, I think this may happen only if:
Did you try to manually retrieve the |
Yes, you are probably right, but... |
I'm working on making this more graceful. In the meantime you can wrap the MessageIterator into another OuterIterator that uses a try/catch with a filter iterator to strip out those errors and keep the loop going. |
OK, thank you. I've already created temporary solution for this case. This is really good library for IMAP. :) |
With #320 now the exception is thrown inside a foreach loop, so you can use the try/catch without the loop beeing halted. |
Released in 1.4.0 |
Hi,
I've updated (from some very old version) to current and now I'm getting Ddeboer\Imap\Exception\MessageDoesNotExistException. My code isn't complicated and I got this exception only few times (not sure when). Am I doing something wrong?
Thanks
Stack trace is probably:
My code:
The text was updated successfully, but these errors were encountered: