Parsing multipart message. Problem with getContentType().
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   SookFan_Le
Posted On:   Friday, February 1, 2002 05:54 AM

I'm having problems in parsing a multipart nested message.

I've tried the sample given here as well as the one given in the Javamail documentation. I get an exception when the program tried to check the content type of the forwarded message (which is "multipart/mixed") when calling the method part.isMimeType(...)

The message can only be parsed correctly after the header part of the message within (the message I forwarded earlier on) is removed.

About | Sitemap | Contact