Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/billzhong/inbox.py
Python SMTP Server for Humans
https://github.com/billzhong/inbox.py
Last synced: about 2 months ago
JSON representation
Python SMTP Server for Humans
- Host: GitHub
- URL: https://github.com/billzhong/inbox.py
- Owner: billzhong
- License: bsd-2-clause
- Created: 2012-04-27T21:26:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-11T17:18:46.000Z (about 8 years ago)
- Last Synced: 2024-05-14T15:14:31.770Z (4 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/inbox.py
- Size: 25.4 KB
- Stars: 1,508
- Watchers: 40
- Forks: 138
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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.
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:4467Installation
------------Installing Inbox.py is simple::
$ pip install inbox.py