On Microsoft Windows platforms, we recommend you use the open source hMailServer.
Uses JavaMail methods to actually log into the mail server.
This implementation of the mail server uses scripts to perform each of the actions.
The scripts must have the same name as each of the methods and use the same parameters.