Posted By:
chandra_a
Posted On:
Tuesday, November 6, 2001 01:24 AM
Dear all, I wish to send a mime encapsulated message containing a XML file, JPG file and a TXT file with parts referring to one another. For this i used a MimeMultipart("related"); and added all the body parts. But this sets the "content-Type" of the message to be multipart/related. But I want this to be of type application/vnd.wap.multipart.related along with some new keys and values in the Content-Type header of the message. How to go about this. When I tried to use the message.setHeader("Content-Type", "application/vnd.wap.multipart.related;" + "start=memememe0;" + "type=application/xml");
More>>
Dear all,
I wish to send a mime encapsulated message containing a XML file, JPG file and a TXT file with parts referring to one another. For this i used a
MimeMultipart("related");
and added all the body parts. But this
sets the "content-Type" of the message
to be multipart/related. But I want this to be of type application/vnd.wap.multipart.related
along with some new keys and values in the Content-Type header of the message.
How to go about this.
When I tried to use the
message.setHeader("Content-Type", "application/vnd.wap.multipart.related;" + "start=memememe0;" + "type=application/xml");
i miss the "boundary=" key and get some absurd results .
Please throw some light
thanking you
chandra
<<Less