Zaahid Bateson
Zaahid Bateson
Unfortunately the way the parser works, the 'part looking for quotes' is separate from the 'part looking for mime encoded parts'. It's semantically okay for a mime-encoded part to have...
> if it can't be done on your side, than I would implement on my side to replace these wrong characters in the "From " line before it is parsed...
Sorry for the delay, not sure if something was fixed since the 2.0 release, but this seems to be working now (added a test to confirm)
I'm not sure what the status of this one is... with #153 merged and #152 fixed is this still an issue? Feel free to reopen.
Hi @filipagh -- Using your largest email I'm not getting the same results. I reused the code I have above, like so (tested on 7.4 and 8.2): ```php use ZBateson\MailMimeParser\Message;...
Added in 3.0
Hi @cwyant-hfg -- Nothing jumps out, from what you said it may be an issue with specific emails, you'll need to take a look at which emails are causing the...
Hi @smariussorin -- I use either mb_convert_encoding or iconv if it doesn't work out. It's part of a separate project though: [zbateson/mb-wrapper](https://github.com/zbateson/mb-wrapper). I would be surprised if windows-1256/1253 are the...
'setCharsetOverride' can be used on any part, it's part of IMessagePart: https://mail-mime-parser.org/api/2.4/classes/ZBateson-MailMimeParser-Message-IMessagePart.html
Hi @denyszrazhevskiy -- That's pretty close to what I'd do. I'm not a huge fan of base64_decode though since it doesn't work on streams which might be annoying for larger...