automated mail generation through jsp and javamail
1 posts in topic
Flat View  Flat View

Posted By:   Ravi_Kumar
Posted On:   Friday, October 17, 2008 06:49 AM

In my project i need some requirment to send mail at scheduled
date. so could any one help me ? I m working with jsp with javamail and james mailserver.please send me the solution on my account ravi1381@gmail.com.

Re: automated mail generation through jsp and javamail

Posted By:   Anonymous  
Posted On:   Friday, October 24, 2008 04:04 AM

// Create the instance of SmtpMessage...
SmtpMessage smtp=new SmtpMessae("example");

// After you set all the properties of SmtpMessage...
String year="2002";
// Month starts with 0!
// So, this means December.
String month="11";
String date="24";
String hour="0";
String minute="0";
// 0 for AM, 1 for PM
String am_pm="0";
String tz="GMT";

// Let's queue the e-mail...
// Let's send the e-mail immediately,

About | Sitemap | Contact