How to Differentiate between read mail with not read mail
Hi,
Any one can help me with sample code using javamail API to Differentiate between read mail with not read mail in smtp server,
// get the INBOX folder (All stores usually have this one)
Folder inbox = store.getFolder("INBOX");
// open the INBOX folder
inbox.open(Folder.READ_WRITE);
Message m = inbox.getMessage(1);
Regards
Muthu

