According to [1], CRLF should be used in EML files regardless of
platform. Thunderbird also commits to this standard for better
interoperability [2].
And Vim/Neovim actually set fileformat=dos by default for EML files even
under Linux/macOS, hence sending CRLF to Thunderbird directly shouldn't
be an issue either.
Actually a small test under Linux showed that even if I send LF to
Thunderbird, when the email is sent out, they are all converted to CRLF.
So even cases like sending Git patches should be ok, as users must've
been dealing with CRLF using Git's CRLF auto conversion already.
Description
According to [1], CRLF should be used in EML files regardless of platform. Thunderbird also commits to this standard for better interoperability [2].
And Vim/Neovim actually set fileformat=dos by default for EML files even under Linux/macOS, hence sending CRLF to Thunderbird directly shouldn't be an issue either.
[1] https://datatracker.ietf.org/doc/html/rfc2822 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=503271
Checklist
Is this a breaking change?
No (but slightly risky?).
Actually a small test under Linux showed that even if I send LF to Thunderbird, when the email is sent out, they are all converted to CRLF. So even cases like sending Git patches should be ok, as users must've been dealing with CRLF using Git's CRLF auto conversion already.
Test results
Closes #53