• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to read only the new messages using ajva mail  RSS feed

 
anil bisht
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I want to read only the unread messages from teh mailbox.
I am using POP so flags are not working. I tried using the header getHeader("status"). but i am getting this as null.
Is there any way i can do this. I have to read the mailbox using java mails and process the mails. So in this case i should not process the read mails.

TIA
Anil
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!