email_backportA backport of the newest Python 2.x email module to >= Python 2.3 | |
Download |
email_backport Ranking & Summary
Advertisement
- License:
- Python License
- Price:
- FREE
- Publisher Name:
- Morten W. Petersen
- Publisher web site:
- http://www.nidelven-it.no/products/issue_dealer/
email_backport Tags
email_backport Description
email_backport 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/emailTo use in your code, try something like:EMAIL_4 = Falseimport systry: from email import message EMAIL_4 = Trueexcept ImportError: sys._IMPORTING_EMAIL_BACKPORT = True try: import email_backport as email sys.modules = email EMAIL_4 = True except ImportError: EMAIL_4 = FalseIf 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!Product's homepage
email_backport Related Software