Open juhlig opened 2 years ago
Oh, interesting. This change have been merged quite recently https://github.com/gen-smtp/gen_smtp/pull/235. But I think it would worth to add support for RFC-2231 (in parser as well; including multiline params)
I noticed some bugs in header parameter parsing that I need to iron out before tackling the actual decoding :disappointed:
https://github.com/gen-smtp/gen_smtp/blob/c6f25a758d60da9788bf5ddf73e985dacb28f74b/src/mimemail.erl#L924-L929
I think this is wrong (though most Mail clients seem to accept it): Parameters should be encoded according to RFC 2231, not RFC 2047.