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


Download files

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

Source Distribution

postboy-0.3.4.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file postboy-0.3.4.tar.gz.

File metadata

  • Download URL: postboy-0.3.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for postboy-0.3.4.tar.gz
Algorithm Hash digest
SHA256 058455faee480ca9e83ccb4da650fda1b599de8e97c7f7a7edb25da6169dd88a
MD5 0d8fe503d1eed061f580e44c70f08622
BLAKE2b-256 5fd4fc6b986eff18bc881ba20037c053ccd0e2ef4eadbca64001d5ec3a05ff87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page