Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automatically send email

 
Mzomuhle Nkosi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic