Parameter |
Description |
-console |
If specified, runs the server in console mode. For example:
java -jar DevNullSmtp.jar -console
This command will run the server in console mode on port 25 and will accept emails from every domain. Incoming emails will be
destroyed.
|
-p |
Specifies a port number. For example:
java -jar DevNullSmtp.jar -p 2500 -console
This command will run the server in console mode on port 2500 and will accept emails from every domain. Incoming emails will be
destroyed.
|
-s |
Specifies the path where emails are stored. This must refer to a valid path on your machine. For example:
java -jar DevNullSmtp.jar -p 2500 -console -s c:\temp\emails
This command will run the server in console mode on port 2500 and will accept emails from every domain. Incoming emails will be
saved in c:\temp\emails folder. |
-d |
Specifies acceptable domain names. For example:
java -jar DevNullSmtp.jar -console -d firstDomain.com,secondDomain.com
This command will run the server in console mode on port 25 and will accept emails from firstDomain.com and secondDomain.com.
Incoming emails will be destroyed. |
-h |
Displays the USAGE screen on the window and exists. |