"Jason R. Mastaler" <[EMAIL PROTECTED]> writes:

> email.Header.encode().

Or rather, email.Header.Header.encode() -- encode is a method of the
Header class.

Also, Header.py is specifically for handling _encoded_ headers.  From
NEWS:

    - New module Header.py which provides a higher level interface for
      encoded email headers, such as Subject:, From:, and To:.  This
      module provides an abstraction for composing such headers out of
      charset encoded parts, and for decoding such headers.  It
      properly splits lines on character boundaries even for multibyte
      character sets.

_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to