WebMail is a system that allows users to submit Email requests from a web form. It then will process user inputs and communicate with corresponding SMTP servers to deliver mails.The administrator of the system can configure the port number on which the WebMail server will be monitoring, as well as the hosting directory for the WebServer sub-module.
The system is mainly divided into three modules: the web server module, the mail deliver module and the scheduler module.
The web server module listens on a certain port, waiting for users’ requests from web browsers. It responds with corresponding pages like ‘new email’ page or status page.
The mail deliver module communicates with a SMTP server and deliver users’ Emails to these servers, and returns with a status code showing what the deliver result should be.
The scheduler determines when to deliver an Email since the user may schedule a future Email instead of sending it right away. It also generates the status page for the web server.