This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
By "email id", you mean the email address? If so, the objective is to connect to a mail server and retrieve all messages from a particular address? If so, then that's what the JavaMail API is for; see the JavaEnterpriseEditionFaq for much information about it. If you meant something else, please describe what that is in more detail.
Joined: Mar 28, 2006
thanks for the reply....
I can able to read emails using javamail api. I have used pop3 to get the mails.
Every time iam getting all mails from my email account.
How to retrieve only new mails using pop3?
suggest me some alternative approaches in retrieving new mails
Abhishek Reddy wrote:How to retrieve only new mails using pop3?
I recognize this as one of the topics from the JavaMail FAQ. While you're looking that one up it wouldn't hurt to read through the whole document. You're quite likely to run into some of the other questions there.