Maven - openag/java-mock-smtp GitHub Wiki

Running Server from Command Line

The Mock SMTP server can be launched using maven command line exec:java

The server will be started with default settings (localhost:2525) and will flush logs to standard out