Skip to main content

Useful links: Documentation | Issue Tracker | PyPI Page

Mailthon is an email library for Python that aims to be highly extensible and composable. Mailthon is unicode aware and supports internationalised headers and email addresses. Also it aims to be highly transport agnostic, meaning that SMTP can be swapped out for other transports.

>>> from mailthon import postman, email
>>> p = postman(host='smtp.gmail.com', auth=('username', 'password'))
>>> r = p.send(email(
        content=u'<p>Hello 世界</p>',
        subject='Hello world',
        sender='John <john@jon.com>',
        receivers=['doe@jon.com'],
    ))
>>> assert r.ok

Platforms

Linux

https://travis-ci.org/eugene-eeo/mailthon.svg?branch=master

Windows

https://ci.appveyor.com/api/projects/status/eadeytartlka64a1?svg=true

Metadata

Release files for mailthon 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mailthon 0.1.1
File Size Uploaded
mailthon-0.1.1.tar.gz 9.5 kB Details

Release files / mailthon-0.1.1.tar.gz

Download URL mailthon-0.1.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce552813dda0ed2f04139fe26e897bed511633ec792e9f46c73ebcfed0d6e024
BLAKE2b-256 checksum
How to use checksums
a4724d75ad651bf2e0d5af88ca63febcdd86e7d107c1f3306cd332598c7caa6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.1

1 release file

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page