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
UnexpectedEncodingException: Cannot decode "5" #278
Comments
I cannot reproduce the Exception: may you create a PR with a failing test please? |
I tried reproduce the Exception with phpunit and above mail. phpunit:
direct connection to problematic imap account:
|
Ok, I get the issue. By itself, is not resolvable: without the encoding we can't provide the AbstractPart::getDecodedContent() functionality, and I prefer to prohibit it to avoid malfunctions. But of course we can handle all this in a much more graceful way: I'll move the Exception to the getDecodedContent method, so you can fetch and use the message and also manually skip the part that can't be decoded if you don't want to decode them. PR soon |
Released in 1.2.0 |
The text was updated successfully, but these errors were encountered: