Skip to main content

asyncio SMTP client

Project description

"aiosmtplib CircleCI build status" " status" codecov "aiosmtplib on the Python Package Index" pypi-status "aiosmtplib on" pypi-python-versions pypi-license

aiosmtplib is an asynchronous SMTP client for use with asyncio.

For documentation, see Read The Docs.


import asyncio
from email.message import EmailMessage

import aiosmtplib

message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = ""
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib"), hostname="", port=25))


Python 3.8+ is required.

Bug Reporting

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiosmtplib-3.0.1.tar.gz (57.7 kB view hashes)

Uploaded source

Built Distribution

aiosmtplib-3.0.1-py3-none-any.whl (27.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page