Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

async_mail

https://img.shields.io/pypi/v/async_mail.svg https://img.shields.io/travis/larsclaussen/async_mail.svg Documentation Status

By django inspired async mail package.

Supports simple-settings and django settings. These settings entries are expected to be present

EMAIL_BACKEND = 'async_mail.backends.smtp.EmailBackend'
EMAIL_SENDER = 'no-reply@nelen-schuurmans.nl'
EMAIL_HOST = 'your-host-name'

EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 25
EMAIL_USE_TLS = True
EMAIL_TIMEOUT = 5

Example

To send a single mail

from async_mail import Mail
from async_mail.models import Message

mail = Mail()
message = Message(
    sender="lars.claussen@mail.com",
    recipients=["lars.claussen@mail.com"],
    subject="one mail",
    message_body="one mail to rule them all"
)
await mail.send_message(message)

TODO

  • console backend

  • pydantic settings support

  • multiple SMTP clients instead of gather for true async execution

  • Free software: MIT license

  • Documentation: https://async-mail.readthedocs.io.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1b (2020-06-03)

  • Beta release.

Metadata

Release files for async-mail 0.1b0

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-mail 0.1b0
File Size Uploaded Provenance Actions
async_mail-0.1b0.tar.gz 10.3 kB Without provenance Details for async_mail-0.1b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for async-mail 0.1b0
File Interpreter ABI Platform Actions
async_mail-0.1b0-py2.py3-none-any.whl Python 2, Python 3 none any Details for async_mail-0.1b0-py2.py3-none-any.whl

Total release size: 17.3 kB

Release files / async_mail-0.1b0.tar.gz

Download URL async_mail-0.1b0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c5ba41125713e168abdd2a96c58c81c01c96dfda8ca8a74c84d19371c299704c
BLAKE2b-256 checksum
How to use checksums
d89c6f4fe93e23048c8121cb48ee6c6e2cec88d2798c9a9a1351f76b6693f03d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12

Release files / async_mail-0.1b0-py2.py3-none-any.whl

Download URL async_mail-0.1b0-py2.py3-none-any.whl
Size 7.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
036891f03e81f51c7982b6b7fb4da1fd9cc7b896ec6337fb59b6513ff1750ecb
BLAKE2b-256 checksum
How to use checksums
37191d0f06d03b8f2234c2a4ab5892a98e6d4916787edb3a0e650bd3539c5232
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12

Security for async-mail 0.1b0

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.

Release history Release notifications | RSS feed

This release
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