Description of the need
As reported on https://backdrop.zulipchat.com/#narrow/stream/218635-Backdrop/topic/How.... I tracked the lines are getting wrapped by backdrop_wrap_mail() following really outdated RFC standards and that breaks the format of messages read on modern mail clients.
Proposed solution
@albanycomputers (https://backdrop.zulipchat.com/#narrow/stream/218635-Backdrop/topic/How....):
The RFC Standard for emails are "old" to say the least and other techniques for manipulating emails have been developed, i.e. modern email clients and HTML encoding... etc..
So, I would agree, remove the hard coding and either leave it at that or add an option to wrap at line 80.
Hope this helps.
Alternatives that have been considered
I could not find any way of bypassing this wrapping at about 78 characters when I really need one of the projects to be sending continuous lines, letting the receiving client program do the correct wrapping.
Useful resources
- https://stackoverflow.com/questions/2696433/is-it-necessary-to-wrap-long...
backdrop_wrap_mail()is the function handling this (where the hard-coding happens)
Recent comments
I'm really hoping to make this simple change on new content types: https://github.com/backdrop/backdrop-issues/issues/7080 Let's disable the ""Display author and date information" by...
February 26th, 2026 - Weekly Meetings
For our DEV meeting: an older bug needs (and could have) a fix. Issue #5729 - Views: Search Filter: On Empty Input "Show None" option Shows All There are 2 pull requests, but one...
February 26th, 2026 - Weekly Meetings
Ruby Text can be a bit of a hassle to edit... Yes, I can imagine that. No idea, how an editor dialog (or whatever) for easier editing of those should look like - in terms of...
Specific tags to work in CKEditor 5