get_charsets(failobj=None) Return a list containing the character set names in the message. If the message is a
unlock() Release the lock on the mailbox, if any.
get_folder(folder) Return a Maildir instance representing the folder whose name is folder. A No
flush() All changes to MH mailboxes are immediately applied, so this method does nothing.
class mailbox.MHMessage(message=None) A message with MH-specific behaviors. Parameter message has the same meaning
remove(key) __delitem__(key) discard(key) Delete the message corresponding
class email.generator.BytesGenerator(outfp, mangle_from_=True, maxheaderlen=78, *, policy=None) The constructor for the
display_name The display name portion of the address, if any, with all quoting removed. If the address does not have a display
body_encode(string) Body-encode the string string. The type of encoding (base64 or
Here are a few examples of how to use the
Page 38 of 44