dcsimg
how to send automatic email by using javamail?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   a_b
Posted On:   Friday, March 22, 2002 06:20 AM


i am using javamail to send alert message to somebody by using jsp code.
however , how can the system automatic run the SQL statement in specific date and send email message to people about some event.


E.g some web site will automatic send message to member about some important event on special date , e.g every year christmas day , but how can the system to it?

Re: how to send automatic email by using javamail?

Posted By:   R_rao  
Posted On:   Friday, March 22, 2002 08:30 AM

You can set this object with time



if (SystemDate = "12/25/2002")


{


sendEmail();// this is your Email object


}

About | Sitemap | Contact