File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes sending email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "sending email" Watch "sending email" New topic

sending email

cyber kanth

Joined: Jan 16, 2001
Posts: 3
i am doing a project in java wherein an email(greetings) has to be sent if today's date=birthdate(stored in backend).how to send it automatically.i would also like to know if i can send mail by pressing a button

ram mohan
Ranch Hand

Joined: Oct 17, 2000
Posts: 68
my idea is run a thread with the waiting time of couple of hrs.Every time the thread run it can compare the date in the database with the system date.If it matches it can invoke a servlet and pass that detail(date,name,email address) which will send emails.
I hope this will work out.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
I am moving this to the "Other Java APIs" forum as this is really a Java Mail question.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link:
subject: sending email
jQuery in Action, 3rd edition