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!

Multipart/related mime message (Bug & Order of Headers)

843830Nov 20 2001 — edited Nov 28 2001
I'm creating a multipart/related mime message. I have two questions

1. When I set the ContentType header for the whole message (not body parts) before setContent(multipart) for the mimemessage then mesage is received as separate part in the email client. When I set the ContentType header after setContent(..) then i receive it as one message..Is it a bug..?? Or the order matters..if so why?

2. How do i specify the order in which i want the headers to be added. I wasnt the ContentType header for the body parts to be the last one (just before the body) but i cant find anyhting that can let me do this??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2001
Added on Nov 20 2001
1 comment
196 views