Closed Spiral90210 closed 2 years ago
There is a plan for this in https://github.com/emersion/go-message/issues/124.
I like that approach.
December 2020 - is it likely to see inclusion any time soon do you know? Want me to make it into to a PR?
Yes, please open a PR if you have time.
Done - let me know what you think, and thank you for being open to it.
There's a limit to the total header size in
entity.go
introduced in #123 for what seems a similar issue:Unfortunately, I've hit that limit. RFC5822 2.2.3 (Long Header Fields - I'd link directly but itef is down right now!) says:
Would it be sensible to increase this limit, or perhaps making it configurable in some way, exporting it as a var/via env? Happy to do a PR if the approach could be agreed beforehand. Until recently o365 had a 10MB limit (I think it's now 100, crazy), so I'll suggest that for now.