Skip to main content

aiosmtplib

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


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.10+ is required.

Bug Reporting

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

Metadata

Release files for aiosmtplib 5.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiosmtplib 5.1.3
File Size Uploaded Provenance Actions
aiosmtplib-5.1.3.tar.gz 77.0 kB With provenance Details for aiosmtplib-5.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiosmtplib 5.1.3
File Interpreter ABI Platform Actions
aiosmtplib-5.1.3-py3-none-any.whl Python 3 none any Details for aiosmtplib-5.1.3-py3-none-any.whl

Total release size: 107.1 kB

Release files / aiosmtplib-5.1.3.tar.gz

Download URL aiosmtplib-5.1.3.tar.gz
Size 77.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ac2b418d3260ba62d9cfd0fe7359726e9dc009a4e8e8d9909fdfae332f522a7c
BLAKE2b-256 checksum
How to use checksums
9b5c9cabc5db6d607616e81ba6d8f1f231cd5a75955807a308c1090a59072d6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Release files / aiosmtplib-5.1.3-py3-none-any.whl

Download URL aiosmtplib-5.1.3-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7d76ce3d4995a65a178c1f11e1bd1607706b921d00cb768e7a2c7f7ef5517a8
BLAKE2b-256 checksum
How to use checksums
9c0ab56ab8163d54960337fdca475d3dfd56c8badf6172e79cf2ad00d5335dc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Security for aiosmtplib 5.1.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aiosmtplib-5.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

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

5.1.3 This release

2 release files Full provenance

0.1

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