Skip to main content
https://img.shields.io/travis/com/theruziev/async_sender.svg?style=flat-square https://img.shields.io/codecov/c/github/theruziev/async_sender.svg?style=flat-square PyPI

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)

Source distribution for async-sender 3.0.0
File Size Uploaded
async_sender-3.0.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for async-sender 3.0.0
File Interpreter ABI Platform
async_sender-3.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

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