iterkeys() keys() Return an iterator over all keys if called as iterkeys() or return a list of keys
set_content(*args, content_manager=None, **kw) Call the set_content method of the content_manager, passing
write(s) Write the string s to the underlying file object, i.e. outfp passed to Generator‘s constructor
feed(data) Feed the FeedParser some more data. data should be a string containing one or more lines. The
get_folder(folder) Return an MH instance representing the folder whose name is folder. A NoSuchMailboxError
__bytes__() Equivalent to as_bytes(). Allows bytes(msg) to produce a bytes object containing the formatted
email.utils.encode_rfc2231(s, charset=None, language=None) Encode the string s according to
mimetypes.add_type(type, ext, strict=True) Add a mapping from the MIME type type to the extension ext. When
discard(key) Delete the message corresponding to key from the mailbox. If no such message
add(message) __setitem__(key, message) update(arg)
Page 1 of 44