Send outgoing text/plain as format=flowed
See original GitHub issueOutgoing text/plain mail can be formatted as format=flowed according to rfc2646.
We already have a method in FlowedMessageUtils
from an the apache-licensed Apache James project, so this should only be a matter of calling the right method at the right place.
Starting point should be around MessageBuilder.buildBody
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
The format=flowed FAQ (Joe Clark)
Format =flowed is a new way of displaying text. Currently, we find f=f most often in quoted text within E-mail messages. Note that...
Read more >RFC 2646 The Text/Plain Format Parameter - IETF
This is paragraph text that is meant to be flowed across several lines. However, the sending mailer is converting it to fixed text...
Read more >support generating flowed text for text/plain messages "Format ...
Format =flowed is a very simple, mostly backwards-compatible hack that solves this problem by saying, essentially, that any line that ends with a ......
Read more >Message format and transmission in Exchange Online
All three message formats can be sent using TNEF. Only HTML and plain text can be sent using MIME. Message transmission format can...
Read more >should use format-flowed encoding when HTML message is ...
This is what was sent. Note the extra space at the end of the lines, so the flowing works: === Content-Type: text/plain; charset=windows-1252;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cketti , @Valodim : Format=flowed solves a number of real world issues with plaintext. It not only allows wrapping lines properly and adapting to different screen sizes (which is particularly important for mobile clients like K9Mail) and avoids “comb wrapping”, but also specifies clearly how quotes should look like, unambiguously fixes the mbox “From at the start of the line” issue in a reversible way etc…
format=flowed is essentially plaintext mail done right.
Please note that you already do implement format=flowed (RFC 2646), in
FlowedMessageUtils.java.flow()
.Ben (Thunderbird developer who implemented a lot of the plaintext processing, but not the format=flowed part, and thinks that format=flowed solved a lot of issues and saved me hairs.)
In Thunderbird
format=flowed
is default and is used. It only usesquoted-printable
for pgp messages. A lot of the email I send isn’t actually encrypted.I have found wrapping works reliably with
format=flowed
particularly on mobile devices.