Re: Regarding content type
Tuesday, August 5, 2003 03:19 AM
Check the content type of the mail by calling method getContentType(). In case if its multipart message then getContent() will return object of Mime Multipart. Type cast and use it.
Most common content types are "multipart/mixed", "multipart/alternative", "multipart/related", "message/rfc822" and more. Different contents are to be handled in different way.