This is a proof of concept it does not have password auth to send and recive mail but its still a proof of concept
This is the file structure of the Mail Server as shown below:
This is the Recive Mail message when a mail message is Recived by another person as shown below:
This is the Send Mail message when a mail message is sent to another person as shown below:
Note this a proof of concept while it does not have any password auth for sending or reciving mail it will still be a proof of concept, You can edit the script or improve on it.