|
parse_rfc2822_date(text)
Parse an rfc2822 date string into a datetime object. |
|
|
|
|
|
decode_header(text)
Decode a header value and return the value as a unicode string. |
|
|
|
unwrap_flowed(text)
Unwrap paragraphs that have been wrapped with "soft" new lines
according to rfc2646. |
|
|
|
quote_text(text)
Quote text by prepending '>'-characters to each line |
|
|
|
reflow_quoted_text(text,
width=72)
Reflow text with 'soft' (SP CR LF) newlines according to rfc2646 |
|
|
|
wrap_flowed(text,
width=72)
Wrap long lines with 'soft' (SP CR LF) newlines according to rfc2646. |
|
|
|
send_msg(account,
identity,
subject,
payload,
to,
cc=None,
in_reply_to=None,
references=None)
Build and send an email message |
|
|
|
decode_text_part(part)
Extract the payload from a text/plain mime part as a unicode string |
|
|
|
decode_text_plain_part(part) |
|
|