AsyncSender provides a simple interface to set up a SMTP connection and send email messages asynchronously.
Installation
Install with the following command
pip install async_sender
Quickstart
AsyncSender is really easy to use. Emails are managed through a Mail instance
from async_sender import Mail
import asyncio
async def run():
mail = Mail()
await mail.send_message("Hello", from_address="from@example.com",
to="to@example.com", body="Hello world!")
asyncio.run(run())
Message
To send one message, we need to create a Message instance
from async_sender import Message
msg = Message("demo subject", from_address="from@example.com",
to="to@example.com")
Metadata
Release files for async-sender 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| async_sender-3.0.0.tar.gz | 6.3 kB | Without provenance | Details for async_sender-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| async_sender-3.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for async_sender-3.0.0-py2.py3-none-any.whl |
Total release size: 12.9 kB
Release files / async_sender-3.0.0.tar.gz
| Download URL | async_sender-3.0.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a990e9119ab6670692d03d6a7f14f61af7d0dcda2674f6779d8d53fb2ff5da2
|
|
BLAKE2b-256 checksum How to use checksums |
0854837e23ab4b757c655e6acff1707ccfa1aec1db7e243a1670afd93eb16097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / async_sender-3.0.0-py2.py3-none-any.whl
| Download URL | async_sender-3.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
29ec01ce1c7b1e405aab26ba47bc3a78fa585d8c96843691a5fa54359102bf80
|
|
BLAKE2b-256 checksum How to use checksums |
65cfc0f1bbb9de7074c02a8cdb488a8286f025978c000afc6f94fbd333d3459e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Security for async-sender 3.0.0
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.