Skip to main content

asyncio SMTP client

Project description

"aiosmtplib CircleCI build status" codecov "aiosmtplib on the Python Package Index" pypi-python-versions pypi-status "aiosmtplib on pypy.tech" pypi-license "Code style: black"


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

loop = asyncio.get_event_loop()
loop.run_until_complete(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.0b0.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.0b0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file aiosmtplib-2.0.0b0.tar.gz.

File metadata

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

File hashes

Hashes for aiosmtplib-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 9e1f4e7738957ff238046c3a478e4cb663a8ab79d63680105266df6d47e5b3fa
MD5 a5f5bd2c912cabde2976619e45680309
BLAKE2b-256 293a24f6626bbd03f752d1284efa8e507f736800b3d2a1792e1bc6d62ca899ab

See more details on using hashes here.

File details

Details for the file aiosmtplib-2.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: aiosmtplib-2.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.15.0-1021-aws

File hashes

Hashes for aiosmtplib-2.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 15e7cb37cee80ef60af973df9427b436bee465cc1d65dbfba43ee7e0226d0add
MD5 7cde492a160dde034e67476db9f9136c
BLAKE2b-256 dcc17822d3f34fbf7093580e4f5366ef3b754c7f63507de22e402d16880d6f73

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