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.2.tar.gz (71.0 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.2-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosmtplib-5.1.2.tar.gz
  • Upload date:
  • Size: 71.0 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.2.tar.gz
Algorithm Hash digest
SHA256 04a0ea3c678f5b719f998f290dce010ca512e1385836d3944206299df03b060f
MD5 648c822e4a143a80e4015f65b69ef68f
BLAKE2b-256 b925d36d056e62a1dc3dd51ce76e7647c62966702193dc91eafa7fd4e1006a91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosmtplib-5.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 070d467cc329dafd0af59108ba5d217d973cba10309910fed359a2a7bfb52d7a
MD5 18a0ab0f2ad2380fa8baa8af951826e9
BLAKE2b-256 d5ecc5a415cd1309eaac28ad3c599458194d25ba07189bb07a1bac2c6713c17e

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