CiviCRM not wrapping long lines in emails
Overview
CiviMail (and FlexMailer) does not break lines in emails. The SMTP protocol only allows 1000 chars per line. So on a mailserver this wrapping is enforced and it can cause DKIM signatures to get invalid.
Further details.
Reproduction steps
- Go to Mailings >> New Mailing
- Create Email with a line with more than 1000 chars.
- Send Email (you can redirect to DataBase)
- Inspect sent email
Current behaviour
Lines are not wrapped.
Expected behaviour
Lines should be hard-wrapped (inserting a line break) after a specified number of characters (I would suggest a default for 990).
Comments
If this gets confirmed, we are to happy to jump in and implement this functionality.