Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.18 KB

FakeSMTPd

License PyPI - Python Version GitHub Release pypi Release Build Status

FakeSMTPd is an SMTP server for testing mail functionality. Any mail sent via this server will be saved, but will not be forwarded any further.

Mail is printed to stdout by default in default mbox format, as defined in RFC 4155. The SMTP mail receivers are added in X-FakeSMTPd-Receiver headers.

Usage

fakesmtpd [OPTIONS]

Supported options:

  • -o, --output-filename [FILENAME] mbox file for output, default: stdout
  • -b, --bind [ADDRESS] IP addresses to listen on, default: 127.0.0.1
  • -p, --port [PORT] SMTP port to listen on

Docker image available.