Skip to content
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

imap_utf7_encode wrap broke the headers parser #201

Closed
aymanrb opened this issue Oct 17, 2017 · 4 comments
Closed

imap_utf7_encode wrap broke the headers parser #201

aymanrb opened this issue Oct 17, 2017 · 4 comments

Comments

@aymanrb
Copy link

aymanrb commented Oct 17, 2017

After upgrading to the Version 3.0.0 I found out my mail headers (subject, to, from, etc...) were all missing. Rolling back to version 2.2.5 makes it work again.

This is caused by the wrapping of the headerRaw argument by the **imap_utf7_encode** before parsing it with imap_rfc822_parse_headers.

barbushin added a commit that referenced this issue Oct 20, 2017
@barbushin
Copy link
Owner

Fixed in release v3.0.1. Ayman, could you please check if it works now?

@barbushin barbushin added the test label Oct 20, 2017
@NormanEdance
Copy link

NormanEdance commented Oct 20, 2017

Thank you, dude!
PhpImap\Exception [ 0 ]: IMAP method imap_rfc822_parse_headers() failed with error: Warning: message has unknown MIME version is gone with v3.0.1!
You're fast as lightning! 👍

@aymanrb
Copy link
Author

aymanrb commented Oct 20, 2017

Yep, fixed for the headers :) not sure if the utf7_encode wrapping affected any other method. For now it looks fine.

Thanks

@barbushin
Copy link
Owner

@NormanEdance @aymanrb Guys, thanks for bug report, and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants