This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
Java Mail Server
help me in retrieving mail
Java mail attachmetnt include txt extensions
Reading Java Mail
saving attachments with javamail