dcsimg
How to retrieve forwarded mail's content?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   mary_suba
Posted On:   Monday, April 24, 2006 08:00 AM

I check whether the mail has a multipart and I check whether it is an "INLINE" by the following codes.

if (disposition.equalsIgnoreCase(Part.INLINE)) {
System.out.println("Inline: " + part.getFileName() + " : " + contentType);
saveFile(part.getFileName(), part.getInputStream()); }

if it is an inline type then a file will be created and the content of the mail is saved.

But i like to know how to extract the attachment of the fowarded mail.

Can anyone help me!!!!

Thanks in advance..

Regards,
Mary.

About | Sitemap | Contact