Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Javamail and GMail  RSS feed

Ethan Gur
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!