Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSP and the fly likes Using javamail how automaticmail send Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using javamail how automaticmail send" Watch "Using javamail how automaticmail send" New topic
Author

Using javamail how automaticmail send

Arun Vethadas .T
Ranch Hand

Joined: Dec 13, 2001
Posts: 36
Hi
For mailing i'm using Javamail.
In database i have a date field(end date of issue).i want to send automatic mail when system date equals end date. How i do this in JSP.
checking with sysdate with date field and how the mail automatically send to the person. we have to write any bat file for automatic running of the mail file. or what how to do it? sample code please!!!
Thanks,
Arun.
Sathyanarayana G N
Greenhorn

Joined: Apr 01, 2002
Posts: 3
Hi,
What is OS you are working with?
If winNT, U can use Scheduler (AT.exe) which comes along with the OS.
Yes. You can make class file to send the mail and run that class file from a bat file or CMD file
Hope this is OK
Regards,


Sathya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using javamail how automaticmail send
 
Similar Threads
How to send an Excel file as an attachment using java.
Need Answer about JavaMail
Need Answer about JavaMail
create email delivery report
Extracting Mail using Javamail