We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Exception detected at line 385 in /var/www/app/test.php : exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (Fri, 24 Jul 2015 20:36:59 -0-100 -0700) at position 33 (-): Double timezone specification' in /var/www/app/vendor/ddeboer/imap/src/Message/Headers.php:56 Stack trace: #0 /var/www/app/vendor/ddeboer/imap/src/Message/Headers.php(56): DateTime->__construct('Fri, 24 Jul 201...') #1 /var/www/app/vendor/ddeboer/imap/src/Message/Headers.php(23): Ddeboer\Imap\Message\Headers->parseHeader('date', 'Fri, 24 Jul 201...') #2 /var/www/app/vendor/ddeboer/imap/src/Message.php(185): Ddeboer\Imap\Message\Headers->__construct(Object(stdClass)) #3 /var/www/app/vendor/ddeboer/imap/src/Message.php(56): Ddeboer\Imap\Message->getHeaders() #4 /var/www/app/vendor/emailapi/inboxwatch/src/InboxWatch.php(383): Ddeboer\Imap\Message->getFrom() #5 /var/www/app/test.php(44): MyApp->imap_retrieve()
The text was updated successfully, but these errors were encountered:
That seems an invalid Date header: can you provide the raw message headers?
Sorry, something went wrong.
Dates are now extensively tested:
imap/tests/MessageTest.php
Lines 320 to 330 in 6ae87c9
Still, now you can catch invalid date header with InvalidDateHeaderException: #205
InvalidDateHeaderException
Thank you for your feedback.
No branches or pull requests
The text was updated successfully, but these errors were encountered: