Posted By:
Vijay_Kumar
Posted On:
Friday, March 17, 2006 02:32 AM
It is not possible to determine the arrival of new messages for POP3 using JavaMail while it is possible for IMAP accounts. The call to getNewMessageCount() returns how many messags are new. however if you want to determine the arrival of new messages in POP3 then you can track the time of messages arrived or get the UIDs of messages to find new messages.