-
-
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
Headers: no catchable exception #246
Comments
I'll look at this, hoping to push a fix without a BC break. In the meantime, can you post please the Date header that produced the exception? |
Lazy loading the parameters is a good idea, unfortunately I'm going to tag this for v2.0, but I'm going to release a major version not before 6 months from now. |
This is a raw email which cause this error.
|
|
@Slamdunk Sorry, this mail has below content:
|
@Slamdunk Do you have idea how catch this exception and have ability to access other header variables? |
At the time being, no |
Implemented in #250 |
When date is incorrect, I can not get any of message header.
imap/src/Message/Headers.php
Line 65 in 0788d5d
I suggest to parse
date
header when user usegetDate()
method or return false instead of InvalidDateHeaderException.The text was updated successfully, but these errors were encountered: