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.
posted 1 year ago
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.