Skip to main content

SMTP for Humans.

Project description

This is simplest SMTP server you’ll ever see.

It’s quite quick. 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, body)
    ...

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

You can also defer to the commandline. ( server.py )

# Dispatch argument parser.
inbox.dispatch()

Run the server:

$ server.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


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page