imap - Reading mails using JavaMail -


this question more behavior. have been using both pop3 , imap access mails in gmail using javamail api. noticed , wanted clarify doubts regarding same.

i retrieving unseen mails inbox. there couple of unread mails , retrieved them using pop3. switched on imap , read same inbox , able retrieve same 2 mails.

i've been using javamail , encountered kind of behavior , wanted know if expected behavior?

you read mail, did not delete or change anything, when read again still there , unchanged. that's all.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -