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.0.tar.gz (66.2 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.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosmtplib-5.1.0.tar.gz
  • Upload date:
  • Size: 66.2 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.0.tar.gz
Algorithm Hash digest
SHA256 2504a23b2b63c9de6bc4ea719559a38996dba68f73f6af4eb97be20ee4c5e6c4
MD5 736b646c839b5cf6760c17f0cc7657cd
BLAKE2b-256 e7ad240a7ce4e50713b111dff8b781a898d8d4770e5d6ad4899103f84c86005c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosmtplib-5.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 368029440645b486b69db7029208a7a78c6691b90d24a5332ddba35d9109d55b
MD5 f896dfc9eccc218f9017bcb3dacc681d
BLAKE2b-256 378270f2c452acd7ed18c558c8ace9a8cf4fdcc70eae9a41749b5bdc53eb6f45

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