arrival of new mail
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   amit_pore
Posted On:   Thursday, March 2, 2006 02:59 AM

How can I know the arrival of new mail in mail box using JavaMail?

Re: arrival of new mail

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.

Re: arrival of new mail

Posted By:   John_Zukowski  
Posted On:   Thursday, March 2, 2006 08:34 AM

About | Sitemap | Contact