Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A backport of the newest Python 2.x email module to >= Python 2.3

Project Description
The email_backport package is a wrap-up of the email > 4.x module
found in Python 2.5 and above.

This is to create a simple way of creating email-related code that
works with existing Python code and interpreters (>= Python 2.3) as
there has been a lot of changes such as new naming standards, see
here:

http://docs.python.org/library/email

To use in your code, try something like:

EMAIL_4 = False
global EMAIL_4
try:
import email
from email import message
if hasattr(email, 'backport'):
email.backport()
EMAIL_4 = True
except ImportError:
import email_backport as email
email.backport()
EMAIL_4 = True

If EMAIL_4 is true, we're good to go, if not, one can disable mail
features of the application.

The versioning of email_backport follows Python's email module
internal version.

You can find the SVN version of this package here:

https://svn.nidelven-it.no/svn/shared-pypi-modules/

Login is svnaccess/svnaccess (read-only access). If you want to
contribute, drop us a line!

4.0.3b2 (2012-04-24)

- Cleaned up code, creating simpler import of email_backport

- Updated documentation

- Modified message.py to use split instead of partition.

4.0.3b:

- Initial setup
Release History

Release History

This version
History Node

4.0.3b3

History Node

4.0.3b2

History Node

4.0.3b

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
email_backport-4.0.3b3.tar.gz (146.9 kB) Copy SHA256 Checksum SHA256 Source Apr 24, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting