• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is this possible in JavaMail?

 
Matt Taylor
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I'm new on JavaMail and I'm not sure if this can be done with it...

I have an application that runs from tomcat server that must check for every incoming gmail messages and process the data in it. However, we restart our application periodically (there's no definite schedule but more or less 2-5 times a day). What we want is the next time we start our application, the application will still process the messages sent on gmail during the time when the application is not running. Can someone please advice what to look for.

TIA
 
Tim Moores
Saloon Keeper
Posts: 3265
54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What difference does it make if the app is periodically down? The task that checks the inbox will pick up all mails since the last check, irrespective of whether the app was running all the time in between.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!