File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using javamail how automaticmail send

 
Arun Vethadas .T
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic