File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Automatically send email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Automatically send email" Watch "Automatically send email" New topic
Author

Automatically send email

Mzomuhle Nkosi
Greenhorn

Joined: Sep 19, 2003
Posts: 1
Hi all!
I'm developing the mini system titled "Postgraduates Projects monitoring System" that is suppose to automatically send emails to registered studens to remind them in two days before the submission date and if a student has not reported in the system that he/she has submitted the work,the system has to send him/her the email again and send another email to his/her suppervisor to inform him that someone has not submitted.I'm using servlets to develop the system.Could you please help me with the code with its description that can help me to write my application.
Thanks in advance
M.T Nkosi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

Servlets is not a good technology choice for this project. Servlets work best in an environment, such as a web application, where browsers make user-iniitiated requests for data or some service.
Contrary, your system needs to initiate action on its own based upon date and time.
You'd be much better served writing a console-type Java application that you can run as a daemon (constantly running background process) on a server with the necessary database access.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Automatically send email
 
Similar Threads
I would like to send a email to the manager... Anyone can help my english?
Game Developer needed!
NX: 48 hour Auto failure
I need to check for email in my J2EE app, please help??
reading and writing with xml in java