Skip to main content

asyncio SMTP client

Project description

"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.

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-5.1.1.tar.gz (68.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiosmtplib-5.1.1-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file aiosmtplib-5.1.1.tar.gz.

File metadata

  • Download URL: aiosmtplib-5.1.1.tar.gz
  • Upload date:
  • Size: 68.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for aiosmtplib-5.1.1.tar.gz
Algorithm Hash digest
SHA256 d9a35e9d170bc1a9f66e2fdfe7fd212f7eebb8c1581c621f79395d0bcaba7a68
MD5 d2cc2089f55a93d64a9a8ad7706a96f1
BLAKE2b-256 39ba34f2fef90d13e21ae3f1b360da98d825c40832bb232613513be92457ff65

See more details on using hashes here.

File details

Details for the file aiosmtplib-5.1.1-py3-none-any.whl.

File metadata

  • Download URL: aiosmtplib-5.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for aiosmtplib-5.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d384f0c3d8906f745c1cf6819f073145bb2de8b10407905f5e2ee3389bfe6c7
MD5 162244163be8427cc56fbe6d52e03e64
BLAKE2b-256 5697d1030d897e96c79cf0682ff93c11a2118085b3af4c27993675eda9e55da3

See more details on using hashes here.

Supported by

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