| | |
- _bdecode(s)
- _identity(s)
- decode(s)
- Return a decoded string according to RFC 2047, as a unicode string.
- encode(s, charset='iso-8859-1', encoding='q')
- Encode a string according to RFC 2047.
- formatdate(timeval=None, localtime=0)
- Returns a date string as specified by RFC 2822, e.g.:
Fri, 09 Nov 2001 01:08:47 -0000
Optional timeval if given is a floating point time value as accepted by
gmtime() and localtime(), otherwise the current time is used.
Optional localtime is a flag that when true, interprets timeval, and
returns a date relative to the local timezone instead of UTC, properly
taking daylight savings time into account.
- getaddresses(fieldvalues)
- Return a list of (REALNAME, EMAIL) for each fieldvalue.
|