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!

MIME type text/xml shown as inline in email applications

843834Oct 16 2008 — edited Feb 15 2009
Hi, I am currently using MimeBodyPart object to set the text for the email, using the setDataHandler() method. The problem is when i use the MIME content as text/plain or text/html, the text is showing inline in my email application.
However problem arises when i use the text/xml MIME content type, the text is not shown as inline, it is set as an attachment. I want to know if at all text/xml can be shown as inline text in an email application or will it be always appear as an attachment.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 15 2009
Added on Oct 16 2008
7 comments
454 views