Skip to main content

Elegant email library

Project description

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

Project details


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

History Node

0.0.1

History Node

0.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mailthon-0.1.1.tar.gz (9.5 kB) Copy SHA256 hash SHA256 Source None Aug 12, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page