This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Javamail and GMail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Javamail and GMail" Watch "Javamail and GMail" New topic
Author

Javamail and GMail

Ethan Gur
Greenhorn

Joined: Feb 17, 2005
Posts: 12
Hi all

I was wondering whether anyone tried to use JAVAMail to connect to GMail accounts. I'm experiencing a major problem where the message can be retrieved only once, meaning - after the first time I get it - I can't get it again (code snippet soon).
I tried it with outlook express and thunderbird, and got similar results - the first client that connected got the message, but the second saw no message. However, when I logged in to my account via GMail's web client - I saw the message was still there.

This is a code snippet I'm using:


Does anyone know how to solve this problem?
10x
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javamail and GMail