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.2.tar.gz
(59.9 kB
view details)
Built Distribution
File details
Details for the file aiosmtplib-3.0.2.tar.gz
.
File metadata
- Download URL: aiosmtplib-3.0.2.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 |
|
MD5 | 494d1bba7ee799eee938d8b903b93a4f |
|
BLAKE2b-256 | 912a812517f8350cd317aad2ba1ce25dfc213c6f1f2e62e1cbf662b4bdc51d34 |
File details
Details for the file aiosmtplib-3.0.2-py3-none-any.whl
.
File metadata
- Download URL: aiosmtplib-3.0.2-py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc |
|
MD5 | 83b9db1795fd5182e1a6d52ac1ef66c5 |
|
BLAKE2b-256 | 8735441faea7a11159795881a6ec869454f40269e4e3806dced935a35d83a412 |