Mailsink is a simple SMTP server based on SubEtha.
- capture and persist every incoming email in memory
- browse emails in a web based ui
- stop/start SMTP server
- extract html body fragments with XPath
- HTTP based api for e2e tests
- 2500 SMTP
- 2525 HTTP (api and ui)
- run
mvnw package
- run
java -jar target/mailsink.jar
Available on Github Container Registry ghcr.io/ksokol/mailsink
.
Start Mailsink with docker run -p 2500:2500 -p 2525:2525 -t ghcr.io/ksokol/mailsink
or
docker run -p 2525:2525 -e MAILSINK_EXAMPLE_MAILS=false -t ghcr.io/ksokol/mailsink
if you want to skip example mails loaded on application startup.