skip to navigation
skip to content

Not Logged In

postboy 0.3.5

simple distributed emailing system.

Simple distributed emailing system.

Usually websites send emails directly in a 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 (about 3 seconds per letter), 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. If you have more then one server, you will have load balancing and guarantee of delivering for your mailings.

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

Installation

Quick installation the system in the Ubuntu server https://github.com/mosquito/postboy/wiki/Installation.

Using

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
 
File Type Py Version Uploaded on Size
postboy-0.3.5.tar.gz (md5) Source 2014-06-22 3KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 80 downloads in the last week
  • 403 downloads in the last month