Keywords: mimelib

# email Package Reference

Barry Warsaw

barry@zope.com

Release 2.5
21 March 2003

### Abstract:

The `email` package provides classes and utilities to create, parse, generate, and modify email messages, conforming to all the relevant email and MIME related RFCs.

- 1 Introduction
- 2 `email` -- An email and MIME handling package
  - 2.1 Representing an email message
    - 2.1.1 Deprecated methods
  - 2.2 Parsing email messages
    - 2.2.1 Parser class API
    - 2.2.2 Additional notes
  - 2.3 Generating MIME documents
    - 2.3.1 Deprecated methods
  - 2.4 Creating email and MIME objects from scratch
  - 2.5 Internationalized headers
  - 2.6 Representing character sets
  - 2.7 Encoders
  - 2.8 Exception classes
  - 2.9 Miscellaneous utilities
  - 2.10 Iterators
  - 2.11 Differences from `email` v1 (up to Python 2.2.1)
  - 2.12 Differences from `mimelib`
  - 2.13 Examples
- About this document ...