Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail: Working with Flags  RSS feed

Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm having trouble working with Flags. I check a e-mail account every minute, and I need to know the messages that I already got, and leave them for other users. So, I'm trying to use user Flags:

The flag is set correctly in the first time, but next time I check the message, the flag is forgotten... I tried to use Flags.Flag.SEEN, and it didn't work. Same reason.

I've already checked if this e-mail account supports this Flags using Folder.getPermanentFlags(), and all this Flags returned.

It's funny...

Anybody can help me?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!