Zaahid Bateson

Results 91 comments of Zaahid Bateson

Ooh, I quite like this. I'd like to spend some time and see if there are good implementations of what you're proposing and maybe other good ideas/caveats, etc... The error...

Top of my head, this should just be a matter of changing the regex pattern for the mime-encoded part matcher to use a '*' instead of '+' for matching. If...

Hi @jwp72 -- ooh, that's very interesting. You can get the raw header value by calling ``` $headerObj->getRawValue() ```. For the second format, how does it come in? Just a...

Unfortunately there's no error reporting or logging at the moment. A proposal for error reporting was made in #124 -- that and logging were hoped to be part of 2.0...

Hi @ahmadfds -- That's more an smtp transport thing and not a mime message thing. At one point I had an option to consider input streams 'smtp' and remove a...

Hi @toto4ds -- That's because "unknown" doesn't look like a hostname, the rules for parsing FROM and BY were created as follows (from https://mail-mime-parser.org/api/1.2/classes/ZBateson.MailMimeParser.Header.ReceivedHeader.html): > Anything outside and before a...

Hi @zrubinrattet Unfortunately since it's only happening on your server it sounds likely to be a server issue, and not related to my library, and I have no idea what...

Off the top of my head, I thought I was parsing for both IPv6 and 4, but could very well be a bug. The code basically fails if anything doesn't...

Hi @sirkokoenig -- After looking into this, the reason is because your example doesn't follow [RFC5321](https://datatracker.ietf.org/doc/html/rfc5321)'s 'address-literal' spec. ``` address-literal = "[" ( IPv4-address-literal / IPv6-address-literal / General-address-literal ) "]"...

Hi Marcel, The problem is there's no way of determining beforehand if a charset is supported by iconv. Your solution's good though... I should either document that behaviour or do...