Posted By:
Joseph_D
Posted On:
Wednesday, December 19, 2001 02:48 AM
Do you know why this fails? If so, do you know how I can get around it? This is what I need to do: // Set MIME body part content type MimeBodyPart mbp = new MimeBodyPart (); mbp. setContent (_aol, "text/x-aol" ); I have tried both: setContent (_aol, "text/aol" ); setContent (_aol, "text/x-aol" ); I think since they are not part of the RFC JavaMail thinks it's an invalid content type. How do I get around this? Older versions of AOL look for this in a multipart messa
More>>
Do you know why this fails?
If so, do you know how I can get around it?
This is what I need to do:
// Set MIME body part content type
MimeBodyPart mbp =
new MimeBodyPart
();
mbp.
setContent
(_aol,
"text/x-aol"
);
I have tried both:
setContent
(_aol,
"text/aol"
);
setContent
(_aol,
"text/x-aol"
);
I think since they are not part of the RFC JavaMail thinks it's an invalid content type.
How do I get around this?
Older versions of AOL look for this in a multipart message.
TIA,
- Joseph
<<Less