dcsimg
How Do I Check For New Messages in the INBOX through JavaMail API
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mustafa_D
Posted On:   Thursday, June 20, 2002 06:16 AM


How is it possible to check the arrival of new messages coming in the INBOX of my mail account through JavaMail API.

According to resources I have tried the attaching the addMessageCountListener() to the Folder object of INBOX. But the events are not triggered when I receive new mails.

Other way round I have tried to access all messages in the INBOX and check the Flags.Flag.RECENT attributes but then too it is not working. Could anyone suggest me a solution it is urgent.


Thank you.

Re: How Do I Check For New Messages in the INBOX through JavaMail API

Posted By:   John_Zukowski  
Posted On:   Thursday, June 20, 2002 08:26 AM

Read the FAQ if it so urgent.
About | Sitemap | Contact