Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Reading email Body which contains Attachement.
 
Similar Threads
Handling E-mails With Attachments
Java mail attachmetnt include txt extensions
Problem in Reading email Body which contains Attachement.
How can I download emails with attachments from Gmail with java programing..(error occur)
connection failure exception