This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60737
    
  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]
 
Consider Paul's rocket mass heater.
 
subject: Automatically send email
 
Similar Threads
I would like to send a email to the manager... Anyone can help my english?
Game Developer needed!
reading and writing with xml in java
I need to check for email in my J2EE app, please help??
NX: 48 hour Auto failure