This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
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
Handling E-mails With Attachments