Skip to content

Silvenga/MailMirror.Net

Repository files navigation

MailMirror.Net

Build Docker

A development mail server that mirrors any emails sent to it, accessible with a REST'ful API. Ideal for integration testing and troubleshooting.

Usage

docker pull silvenga/mailmirror.net

# 25/smtp, 3000/api
docker run -p 9000:9000 -p 25:25 -d silvenga/mailmirror.net

# Get all messages sent to container
curl -X GET "http://localhost:9000/api/messages"

TODO

  • Expire messages automatically
  • Create UI (download EML, delete messages, search, etc.)
  • Docker keeps sending line returns, find a better keepalive (maxing out CPU)
  • Create instructions on home page
  • 500 on favicon
  • 500 on random requests (likely do to custom logging middleware)
  • Remove polling
  • Ability to customise domain