Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can i flag a message as RECENT using javamail with IMAP  RSS feed

 
naaz abhi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to flag a read message as Unread by setting flag 'RECENT' but it doesn't do anything.I am doing this, message[i].setFlag(Flags.Flag.RECENT, true).
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally, I'd take another look at the javadocs.



If you want to set something to unread, you could try the SEEN flag.
[ June 16, 2005: Message edited by: Lewin Chan ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!