Skip to main content

PostBoy

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

Metadata

Release files for postboy 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for postboy 0.3.5
File Size Uploaded Provenance Actions
postboy-0.3.5.tar.gz 3.4 kB Without provenance Details for postboy-0.3.5.tar.gz

Release files / postboy-0.3.5.tar.gz

Download URL postboy-0.3.5.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5c34498bf25c6c59b58a989d35267d7404332af21740af7ad3984d3846f6729d
BLAKE2b-256 checksum
How to use checksums
b537396c407f993cc7596f04bce67f3a67ba8ad7d442115fa7bc129a542c9e23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for postboy 0.3.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page