A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/kennethreitz/inbox.py below:

billzhong/inbox.py: Python SMTP Server for Humans

Inbox.py: SMTP Server for Humans

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

One instance should handle over one thousand emails per second.

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

Installing Inbox.py is simple:

$ pip install inbox.py

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4