Skip to main content

asyncio SMTP client

Project description

"aiosmtplib CircleCI build status" "pre-commit.ci status" codecov "aiosmtplib on the Python Package Index" pypi-status "aiosmtplib on pypy.tech" pypi-python-versions 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.7+, compiled with SSL support, 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-2.0.1.tar.gz (56.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-2.0.1-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosmtplib-2.0.1.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Linux/5.15.0-1021-aws

File hashes

Hashes for aiosmtplib-2.0.1.tar.gz
Algorithm Hash digest
SHA256 a20aae28f67169dd761beef4c62e4bb3073d035f9ee20c2e4f18baa1a73e7c88
MD5 92de9e32a4c76f373b345c5ab89ab857
BLAKE2b-256 67cd77e7b7dc52618e5f49059bbe17b4fc7dbfaf4174c3a891c6f14f63624d06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosmtplib-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Linux/5.15.0-1021-aws

File hashes

Hashes for aiosmtplib-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f619f900d1bfe25a8f453005958ba78870abbfeeffb2fdef11265be0df26913
MD5 0af657ffeb1cce3165e7d6b8fdd37193
BLAKE2b-256 1c0185a66daad6ccbe9cfdb774c349c2758b295feb3a4de7bf8f01a1ff593bd2

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