question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Send outgoing text/plain as format=flowed

See original GitHub issue

Outgoing 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
benbuckschcommented, Aug 19, 2019

@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.)

0reactions
ghostcommented, Jan 31, 2019

In Thunderbird format=flowed is default and is used. It only uses quoted-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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found