GeeCON Prague 2014*
The moose likes Java in General and the fly likes Problem in Reading email Body which contains Attachement. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem in Reading email Body which contains Attachement." Watch "Problem in Reading email Body which contains Attachement." New topic
Author

Problem in Reading email Body which contains Attachement.

Pankaj Kr. Singh
Ranch Hand

Joined: Mar 31, 2011
Posts: 32

Hi All,

I want to read the body message and attachment of mail. But when I start reading mail if the mail contains the attachment only attachment content is being read. I am not able to read the body message.

Please help
Below is the code.

Thanks
Pankaj singh
Pankaj Kr. Singh
Ranch Hand

Joined: Mar 31, 2011
Posts: 32

Hi All
Finally I got the solution and it is working fine.

I changed the following things in code.

Thanks
 
GeeCON Prague 2014
 
subject: Problem in Reading email Body which contains Attachement.