wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Develop automatic B'Day mailer in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Develop automatic B Watch "Develop automatic B New topic
Author

Develop automatic B'Day mailer in java

ram shah
Greenhorn

Joined: Jun 02, 2007
Posts: 28
Hi,

I have a requirement...I have a table which contains name, B'Day & e-mail id of 10 people. I need to develop a java program which will check fo rthe names of people wih B'Day on a particular day & automatically send a mail to them.

Any body can throw some light on this???

I'm planning to link the java pogram with a scheduler & run the program every morning.

Pls help...
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Hey you can try using Quartz which is a scheduler tool. Google for quartz for the tutorials and How to do articles.

JavaMail is another option i can think of. You can have plain Java Threads to achieve this automated scheduling.

Good luck.


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Quartz would do the job. However, far easier would be a Timer and TimerTask.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
ram shah
Greenhorn

Joined: Jun 02, 2007
Posts: 28
Thanks for the reply...

We need to integrate the program with Mambo...is it possible?
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Sorry, no idea about integration with Mambo.

You need to check with its documentation.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Develop automatic B'Day mailer in java