-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
How to solve Invalid Message Date #198
Comments
@Webklex do you know of an easy fix for this, that i can implement at this particular moment? |
Hi @dannylifino , This is our current collection: Lines 708 to 744 in 0897d64
Please feel free to add an additional rule. You can also disable this behavior by providing a fallback date Line 154 in 0897d64
Best regards & happy coding, |
Same here, I got the similar exception quite often 'Invalid message date. ID*** Date:fr., 25 nov. 2022 06:27:14 +0100/fr., 25 nov. 2022 06:27:14 +0100' |
I have same problem on 5.5.0 version :( |
Our company is currently automatically fetching our inbox messages using:
$inboxMessages = $this->inboxFolder->messages()->all()->get();
Occassionaly, we get a bad message in there with an invalid message date, which throws an error and terminates the whole script. If this happens, we manually clear out our inbox that consists of like 500+ messages a day. This is a real struggle, because if we get this error, we have to spend a lot of time searching and fixing it.
Error:
GetMessagesFailedException Invalid message date. ID: Date:Di., 15 Feb. 2022 06:52:44 +0100 (MEZ)/Di., 15 Feb. 2022 06:52:44 +0100 (MEZ)
Is there some sort of way that we can skip these messages from fetching or like delete them, without editing your whole package @Webklex ?
The text was updated successfully, but these errors were encountered: