File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Automatically send email

Mzomuhle Nkosi

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

Joined: Jan 10, 2002
Posts: 63858

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.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Automatically send email
It's not a secret anymore!