Posted By:
Betsy_Zelinger
Posted On:
Sunday, June 3, 2001 04:12 PM
If I have this as my Content-Type: Content-Type: multipart/Related; boundary="----=_Part_0_6700605.991608301540" How can I manipulate it, so it is instead something like this, to satisfy requirement of the company receiving it (has to be all on one line or receiver rejects it): Content-Type: multipart/Related; Type="Application/X-Company-MessageSystem"; boundary="Company-XML-DATA"? I read postings and found reference to a ByteArrayDataSource in JavaMail demo, looked at it, seems like it is used for message content. When I tried to use one and hard code the Content-Type as what I wanted as the DataSource for a MimeMultipart, I get an error that I am missi
More>>
If I have this as my Content-Type:
Content-Type: multipart/Related;
boundary="----=_Part_0_6700605.991608301540"
How can I manipulate it, so it is instead something like this, to
satisfy requirement of the company receiving it (has to be all on one line or receiver rejects it):
Content-Type: multipart/Related; Type="Application/X-Company-MessageSystem"; boundary="Company-XML-DATA"?
I read postings and found reference to a ByteArrayDataSource in
JavaMail demo, looked at it, seems like it is used for message content. When
I tried to use one and hard code the Content-Type as what I wanted as the DataSource
for a MimeMultipart, I get an error that I am missing the start
boundary and get no further.
<<Less