Skip to main content

SMTP for Humans.

Project description

This is the simplest SMTP server you’ll ever see. It’s asynchronous.

One instance should handle over one thousand emails per second.

Usage

Give your app an inbox easily:

from inbox import Inbox

inbox = Inbox()

@inbox.collate
def handle(to, sender, subject, body):
    ...

# Bind directly.
inbox.serve(address='0.0.0.0', port=4467)

You can also defer to the commandline:

if __name__ == '__main__':
    inbox.dispatch()
$ dasinbox.py 0.0.0.0 4467
[2012-04-28 07:31] INFO: inbox: Starting SMTP server at 0.0.0.0:4467

Installation

Installing Inbox.py is simple:

$ pip install inbox

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
inbox.py-0.0.6.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None

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