|Subject:||quoted-printable encoding does not correctly encode emails that already have CRLF lines|
As of Bugzilla 3.2.3, we generate emails that end in CRLF before we send them to Email::MIME::Modifier's encoding_set(). By default, it seems that MIME::QuotedPrint encodes CR as =0D and does not encode LF, which is illegal according to Rule 1 for Quoted-Printable:(It is illegal since per RFC822 [and I believe RFC2822 also]), all email lines must end in CRLF, so that is the standard line terminator for this transport. There is an $eol option to MIME::QuotedPrint to help with this, but I'm not sure that it will in fact actually help. I think Email::MIME::Encodings will have to s/\015\012$/\012/ms and then give \015\012 as the $eol argument to encode_qp.