mimetypes.common_types

mimetypes.common_types Dictionary mapping filename extensions to non-standard, but commonly found MIME types.

2016-10-07 17:37:14
email.utils.parsedate_to_datetime()

email.utils.parsedate_to_datetime(date) The inverse of format_datetime(). Performs the same function as parsedate()

2016-10-07 17:32:59
base64.b64decode()

base64.b64decode(s, altchars=None, validate=False) Decode the Base64 encoded bytes-like object

2016-10-07 17:27:19
email.message.EmailMessage.set_content()

set_content(*args, content_manager=None, **kw) Call the set_content method of the content_manager, passing

2016-10-07 17:32:37
email.message.EmailMessage.iter_parts()

iter_parts() Return an iterator over all of the immediate sub-parts of the message, which will be empty for a non-multipart

2016-10-07 17:32:37
mailbox.Mailbox

class mailbox.Mailbox A mailbox, which may be inspected and modified. The Mailbox

2016-10-07 17:36:34
mailbox.Message

class mailbox.Message(message=None) A subclass of the

2016-10-07 17:36:49
email.message.Message.

__bytes__() Equivalent to as_bytes(). Allows bytes(msg) to produce a bytes object containing the formatted

2016-10-07 17:32:45
email.utils.formataddr()

email.utils.formataddr(pair, charset='utf-8') The inverse of parseaddr(), this takes a 2-tuple of the form (realname

2016-10-07 17:32:58
mailbox.mboxMessage.set_from()

set_from(from_, time_=None) Set the “From ” line to from_, which should be specified without a leading “From ” or trailing

2016-10-07 17:36:49