Please how can i implement detecting new messages in my email client? You know like in outlook "you have 3 new messages" I havent seen any provision for that in the javamail api. Please i desperately need an answer to this question in order to move foward in my coding. Thanks.
"Human beings can alter their lives by altering their state of mind" William James
posted 11 years ago
The methods javax.mail.Folder.getNewMessageCount() or getMessageCount() would seem to do this.