Skip to main content
easymail
========

[![Build Status](https://secure.travis-ci.org/mfussenegger/easymail.png?branch=master)](https://travis-ci.org/mfussenegger/easymail)

The email package in pythons standard library is pretty low level.
Easymail aims to add an abstraction layer on top that sets some (hopefully) sane
defaults.

These defaults include:

* using utf-8 encoding by default.
* important headers (like Date)


A simple example:

from easymail import Email
from smtplib import SMTP
e = Email('My Name <mymail@somedomain.com>', 'recipient@otherdomain.org')
e.subject = 'hello world'
e.body = 'with some non-äscii charöcters'

smtp = SMTP('mymailserver.com')
smtp.sendmail(*e.args)

Slightly more advanced:

from easymail import Email, Attachment
from smtplib import SMTP
e = Email('My Name <mymail@somedomain.com>', 'recipient@otherdomain.org')
e.subject = 'hello world'
e.body = 'with some non-äscii charöcters'

e.attachments.append(Attachment('./path/to/picture.png'))
e.attachments.append(Attachment('./path/to/document.pdf'))

smtp = SMTP('mymailserver.com')
smtp.sendmail(*e.args)


Dependencies
============

Pure Python 3.5+

License
=======

Easymail is licensed under the MIT license.


Release files for easymail 0.3.0

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

Source distribution (sdist)

Source distribution for easymail 0.3.0
File Size Uploaded
easymail-0.3.0.tar.gz 31.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for easymail 0.3.0
File Interpreter ABI Platform
easymail-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 37.0 kB

Release files / easymail-0.3.0.tar.gz

Download URL easymail-0.3.0.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c644de6081a167e698cae411cfd60d94bf14cf931060de1d50cdc67bd8369735
BLAKE2b-256 checksum
How to use checksums
c858fe655f925aa282506dc11e8dfc0bcf6ca8c219fcdee7802586f44fe0cdad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / easymail-0.3.0-py2.py3-none-any.whl

Download URL easymail-0.3.0-py2.py3-none-any.whl
Size 5.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e9d8c7d8cf8d9d035d53d68e4132038bcf86a8fa5b9682e8b6c315b4b3053c1b
BLAKE2b-256 checksum
How to use checksums
2a48c70ffa1f87de7b65df92d6056cbaa74be307eb782a5ba71899d4d742f578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

1 release file

0.01

0.1.0

1 release file

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