Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javamail and GMail

 
Ethan Gur
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic