File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Retrieve Emails from Gmail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Retrieve Emails from Gmail" Watch "Retrieve Emails from Gmail" New topic

Retrieve Emails from Gmail

Andrew Vyas

Joined: Mar 19, 2008
Posts: 3
Hello everyone,

Now i have created a code to retrieve an email and read its body and then we can store or do whatever we want to do. Well i have got the complete code by study of two different codes and then merging some of the content...

I am displaying the code and it is completely working but the problem is that it giving me only the body for the first mail and for the second it gives me the body with all the html tags and all. So can anyone please help me out to make this code to read multiple mails. I will be very thankful for it. Thanking you...

This is the code
I agree. Here's the link:
subject: Retrieve Emails from Gmail
It's not a secret anymore!