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
Iconv Exception #78
Comments
I am having the same problem, specially from a couple of emails comming from ebay. So I am implementing your solution and I hope in the future the library gets the fix. |
Sadly didnt work for me. I will have to check for another solution. Thanks anyway. |
Same problem. In my case: a broken email's title prevents fetching the message: body, attachments and etc.
Is it any way to ignore IllegalCharacterException to take access to others not broken parts of email? |
I Have a separate problem that may be related in some way
|
Kind of late. one year without an answer. I guess this forum will never get an answer :) |
Well I'm not sure it will if we all take that attitude... Combing the PR's it seems modifying the transcoding library to include some try catch statements helped to silence and decode a lot of messages that were |
Thank you for the feedbacks. The issue should be resolved by #196 |
class IconvTranscoder implements TranscoderInterface{ php 7.4 |
Hello,
I get the attachments from the mailbox's unread messages using $attachment->getDecodedContent() and I'm having some trouble with them. They are UTF-8 XML. The transcode method is causing an Exception on iconv function saying it has an illegal character.
https://github.com/ddeboer/imap/blob/master/src/Message/Part.php#L185-L188
I just changed this to:
https://github.com/darit/imap/blob/master/src/Message/Part.php#L185-L189
This change works fine for me.
darit@3ba77f1?diff=unified
The text was updated successfully, but these errors were encountered: