Metadata-Version: 2.4
Name: FakeSMTPd
Version: 2026.7.0
Summary: SMTP server for testing mail functionality
Keywords: SMTP,mail,testing
Author: Sebastian Rittau
Author-email: Sebastian Rittau <srittau@rittau.biz>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Communications :: Email :: Mail Transport Agents
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.10
Project-URL: Homepage, https://github.com/srittau/fakesmtpd
Project-URL: GitHub, https://github.com/srittau/fakesmtpd
Project-URL: Issues, https://github.com/srittau/fakesmtpd/issues
Project-URL: Changes, https://github.com/srittau/fakesmtpd/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

# FakeSMTPd

![Supported Python Versions](https://img.shields.io/pypi/pyversions/fakesmtpd)
[![MIT License](https://img.shields.io/pypi/l/FakeSMTPd.svg)](https://pypi.python.org/pypi/FakeSMTPd/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fakesmtpd)
[![GitHub Release](https://img.shields.io/github/release/srittau/fakesmtpd/all.svg)](https://github.com/srittau/FakeSMTPd/releases/)
[![pypi Release](https://img.shields.io/pypi/v/FakeSMTPd.svg)](https://pypi.python.org/pypi/FakeSMTPd/)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/srittau/FakeSMTPd/test.yml)](https://github.com/srittau/FakeSMTPd/actions/workflows/test.yml)

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](https://www.ietf.org/rfc/rfc4155.txt). 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](https://hub.docker.com/r/srittau/fakesmtpd/).
