Skip to main content

Elegant email library

Project description

https://travis-ci.org/eugene-eeo/mailthon.svg?branch=master https://ci.appveyor.com/api/projects/status/eadeytartlka64a1?svg=true

MIT licensed library for easy delivery of emails, inspired by Requests’s simple, beautiful API. Mailthon aims to simplify the delivery of emails and make it a joy to use as well as being extremely extensible and configurable at the same time.

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

The library is still in rapid development and the edges are being ironed out. Feel free to raise issues/ping me if you want to give feedback. Also, you can always make pull requests if you prefer expressing yourself in code.

Project details


Download files

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

Files for mailthon, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size mailthon-0.0.1.tar.gz (8.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page