Skip to main content

simple distributed emailing system.

Project description

Simple distributed emailing system.

Usually websites send emails directly in request. Sometime i tried to use as emailing daemon “ssmtp”. I was shocked when I tried to send ten mails from django. This was about half a minute, and my request was processed long.

This system will be save your response time because your letters will be added to queue and delivered as soon as possible.

For working the Postboy needed RabbitMQ AMQP daemon. This may used as cluster or single server instance. For delivering will be used any localhost MTA.

Installation

pip install postboy

Using

/usr/bin/postboy –debug

Then try to use it in your code:

>>> from postboy import Email, BrokerHandler
>>> broker = BrokerHandler()
>>> email = Email(sender='info@test.name', recipient='user@localhost', subject='Test')
>>> broker.store(email.dumps())
1 # <= return task id

Project details


Release history Release notifications

History Node

0.3.5

This version
History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.8

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
postboy-0.3.4.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None Jun 22, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page