Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

text/plain; format=flowed

843830Apr 11 2003 — edited Apr 14 2003
So I want to send "text/plain; format=flowed" as described in RFC2646: http://www.ietf.org/rfc/rfc2646.txt

I'm currently using:
String message;
MimeMessage message;
// ... snip ...
message.setContent(body, "text/plain; format=flowed");
but this has the problem of the Content-Type being:
Content-Type: text/plain; format=flowed; charset=us-ascii
(note the second ; after format=flowed) which isn't to RFC spec on how a header should look.

How should I correctly set the format parameter of text/plain?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2003
Added on Apr 11 2003
2 comments
368 views