Posted By:
Anonymous
Posted On:
Monday, March 4, 2002 05:12 AM
I want to have a MIME header which will have the ConetntType="Application/XML" and also "multipart/Related".How can do create this by using the javax.mail.internet. MimeMultipart, OR is there any other way i can create this. Example: Message-ID: <5680.1008979316114.JavaMail.b2badmin@imhotep> MIME-Version: 1.0 Content-Type: multipart/Related; boundary="----=_Part_136_7017542.1008979316111"; type="Application/x-RosettaNet" Content-Description: This is the RosettaNet business message ------=_Part_136_7017542.1008979316111 Content-Type: Application/XML; RNSubtype="preamble-header" Content-Transfer-En
More>>
I want to have a MIME header which will have the ConetntType="Application/XML" and also "multipart/Related".How can do create this by using the
javax.mail.internet. MimeMultipart, OR is there any other way i can create this.
Example:
Message-ID:
<5680.1008979316114.JavaMail.b2badmin@imhotep>
MIME-Version: 1.0
Content-Type: multipart/Related;
boundary="----=_Part_136_7017542.1008979316111"; type="Application/x-RosettaNet"
Content-Description: This is the RosettaNet business message
------=_Part_136_7017542.1008979316111
Content-Type: Application/XML; RNSubtype="preamble-header"
Content-Transfer-Encoding: binary
Content-Description: This is the Preamble Header part of the business message
If i can Create this then how can i parse this kind of MIME message with the help of standard Parsers, will the Standard parsers will recognise this kind of Header ContentType.
Please Help me on this.
Srinivas.
<<Less