File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
 
subject: Javamail and GMail
 
Similar Threads
hotmail through javamail
JavaMail - Port 25 blocked?
Matching mail message with UUID
javax & gmail
JavaMail EOf on socket