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.