hi.. i am using java mail api to get list of mails in my outlook.. But i need to display the messages only of current date..i.e. todays emails' list to be displayed.. DO we have any method in java mail api that can retrieve surrent date's mails? Thanx in advance...
Joined: Dec 07, 2004
Hi Mr.Moderator! I think you must try to answer my question...if you have got time to see this thread!
If you look at javax.mail.Message you will find functions to figure out the date a message was sent and received. Simply look at those to decide whether a message falls within the interval you want to show and you're set.