• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is this possible in JavaMail?

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:)
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic