A SMTP/POP3 server for testing purposes purely written on Java™ with the Netty framework.
You need a Java 8 or newer installed on your machine.
The test-mail-server-<version>.jar is auto-executable. If your desktop environment supports it, you can directly double click on the .jar. Otherwise, run the following command with the next command-line arguments.
java -jar test-mail-server-<version>.jar <args>
Argument | Description |
---|---|
-h, --help | Show help |
-s, --smtp-port <port> | Start the SMTP server on the given port |
-sr, --smtp-redirect | Redirect all incoming messages to the sender's mailbox |
-p, --pop3-port <port> | Start the POP3 server on the given port |
-m, --mail-dir <directory> | Path to directory to store user's mailboxes and mail messages |
-c, --console | Start the application in the console mode. No GUI. Can be used to start the application as a *nix daemon or a Windows Service |
Shows a list of SMTP transactions and its details.
Shows a list of POP3 transactions and its details.
Shows a list of user's mailboxes, messages in mailboxes and message's bodies.
An Erlang™-based version is also available.
This software is licensed under the Apache License, Version 2.0.