Here are a few examples of how to use the
class mailbox.mboxMessage(message=None) A message with mbox-specific behaviors. Parameter message has the same meaning
class mailbox.MHMessage(message=None) A message with MH-specific behaviors. Parameter message has the same meaning
quopri.decodestring(s, header=False) Like decode(), except that it accepts a source
add_header(_name, _value, **_params) Extended header setting. This method is similar to __setitem__() except that
remove_label(label) Remove label from the list of labels on the message.
base64.decode(input, output) Decode the contents of the binary input file and write the resulting binary data to the
add_get_handler(key, handler) Record the function handler as the handler for key. For the possible values
email.contentmanager.set_content(msg, , subtype="plain", charset='utf-8' cte=None, disposition=None, filename=None, cid=None, params=None, headers=None) email
get_message(key) Return a representation of the message corresponding to key as an instance of the appropriate format-specific
Page 41 of 44