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!

MimeMultipart -related or mixed

843834Dec 18 2008 — edited Dec 17 2009
I was under the impression that if i wanted to embed images within the email, I should use a related MimeMultipart . When 'related' is used, Outlook does not display the attachment icon. Even if the msg also includes attachments as well as embedded images.

If I instead use 'mixed', the images are still embedded and the attachment icon shows up appropriately in outlook.
The message appears to be formatted just fine using 'mixed'. Is it safe to always use mixed? At times I will be sending just attachments, other times the images will be embedded in the mail, or some combination of both.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2010
Added on Dec 18 2008
6 comments
843 views