• Post Reply Bookmark Topic Watch Topic
  • New Topic

order mails by date JAVAMAIL  RSS feed

 
Madhup narain bhardwaj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!
well im using java mail to retrieve my mails from my inbox.Howsoever i am retriving the contents of mails such that the first mails is viewed first,i want to order these mails in such a manner such that the latest mail is retrieved first.
does java mail provide any method to order mails by date???
 
Breno Ribeiro
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm with the same problem..
 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Breno Ribeiro
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had found the solution, and is exactly what the Stanley Mungai sad.
From what I undestand, POP3 isnt the best protocol in this case, and you can't use the IMAP, you need to use IMAPS.

Thank's Stanley Mungai.
 
Stanley Mungai
Ranch Hand
Posts: 155
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Breno Ribeiro, You are Welcome. Glad you got a Solution
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!