Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

SMTP server for testing mail functionality

Project description

# FakeSMTPd

[![License](]( [![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.


fakesmtpd [OPTIONS]

Supported options:

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

Docker image [available](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
FakeSMTPd-0.2.1-py3-none-any.whl (14.6 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page