Skip to content

eugenehr/test-mail-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-mail-server

A SMTP/POP3 server for testing purposes purely written on Java™ with the Netty framework.

Requirements

You need a Java 8 or newer installed on your machine.

Usage

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>

Command-line arguments

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

SMTP server tab

SMTP Server

Shows a list of SMTP transactions and its details.

POP3 server tab

POP3 Server

Shows a list of POP3 transactions and its details.

Mailboxes tab

Mailboxes

Shows a list of user's mailboxes, messages in mailboxes and message's bodies.

Erlang version

An Erlang™-based version is also available.

Licensing mumbo-jumbo

This software is licensed under the Apache License, Version 2.0.