asyncio SMTP client
Project description
aiosmtplib is an asynchronous SMTP client for use with asyncio.
For documentation, see Read The Docs.
Quickstart
import asyncio
from email.message import EmailMessage
import aiosmtplib
message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = "somebody@example.com"
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib")
asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))
Requirements
Python 3.8+ is required.
Bug Reporting
Bug reports (and feature requests) are welcome via Github issues.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
aiosmtplib-3.0.1-py3-none-any.whl
(27.1 kB
view hashes)
Close
Hashes for aiosmtplib-3.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abcceae7e820577307b4cda2041b2c25e5121469c0e186764ddf8e15b12064cd |
|
MD5 | 7427a63b51bbdb2b8d1f00d4505aa255 |
|
BLAKE2b-256 | 3b2a31fbf4dcfb7ad018e9148b94d5280f2fdb3b6657e9db562a58da7ef31a9f |