This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Bonzo is a minimalistic SMTP Proxy built on top of Tornado.

Project Description

About

Bonzo is a minimalistic SMTP Proxy built on top of Tornado.

import tornado.ioloop
import email

from bonzo.server import SMTPServer


def receive_message(message):
    print "New received message: "
    print "From: " + message['from']
    print "Subject: " + message['subject']
    for line in email.iterators.body_line_iterator(message):
        print line

SMTPServer(receive_message).listen(25)
tornado.ioloop.IOLoop.instance().start()

Installation

You can to use pip to install Bonzo:

$ pip install bonzo

Or using last source:

$ pip install git+git://github.com/puentesarrin/bonzo.git
Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bonzo-0.1.2.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Feb 5, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting