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 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 Murach's Java Servlets and JSP this week in the Servlets 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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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