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.9+ 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-4.0.1.tar.gz (60.8 kB view details)

Uploaded Source

Built Distribution

aiosmtplib-4.0.1-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosmtplib-4.0.1.tar.gz
  • Upload date:
  • Size: 60.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for aiosmtplib-4.0.1.tar.gz
Algorithm Hash digest
SHA256 10d426afe923edeb28ce0f007da0ee4060e9e12dd3890c162b22e1958da35761
MD5 fe80e5a0c304702024538bd83645501b
BLAKE2b-256 cfd10ee117510ae0513f945ff3ee42edee20a3f236b2020c954f12ccd0931f95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosmtplib-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for aiosmtplib-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f56ad99fa0653f32e80636f917dc0251489917d6a363a9b58a586e575d21f28
MD5 8bb3d240c9e0ba9f93d050c42371aff3
BLAKE2b-256 81f944fb8e33f2624fbcd40adee97143f6324123d80818f939f90a80ef5bade2

See more details on using hashes here.

Supported by

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