px
pypx

aiosmtplib

v5.1.3

asyncio SMTP client

29 KB Python 3.10+ py3-none-anyMIT
Diff
$ uv add aiosmtplib

aiosmtplib

"aiosmtplib CircleCI build status" "pre-commit.ci status" "0 dependencies" "aiosmtplib on the Python Package Index" "aiosmtplib on pypy.tech"

------------

aiosmtplib is an asynchronous SMTP client for use with asyncio.

For documentation, see Read The Docs_.

Quickstart

.. start quickstart

import asyncio
from email.message import EmailMessage

import aiosmtplib

message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = "[email protected]"
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib")

asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))

.. end quickstart

Requirements

.. start requirements

Python 3.10+ is required.

.. end requirements

Bug Reporting

.. start bug-reporting

Bug reports (and feature requests) are welcome via Github issues_.

.. end bug-reporting

Details

Version
5.1.3
License
MIT
Python
>=3.10
Maintainer
Cole Maclean <[email protected]>

Release Cadence

4
releases in the past year
avg 103 days between releases

Maintainers