Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Develop automatic B'Day mailer in java

 
ram shah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quartz would do the job. However, far easier would be a Timer and TimerTask.
 
ram shah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply...

We need to integrate the program with Mambo...is it possible?
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, no idea about integration with Mambo.

You need to check with its documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic