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](https://img.shields.io/pypi/l/FakeSMTPd.svg)](https://pypi.python.org/pypi/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/) [![Build Status](https://travis-ci.org/srittau/FakeSMTPd.svg?branch=master)](https://travis-ci.org/srittau/FakeSMTPd)

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/).

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