encode(splitchars=';, \t', maxlinelen=None, linesep='\n') Encode a message header into an RFC-compliant format, possibly wrapping
input_charset The initial character set specified. Common aliases are converted to their official email names (e.g
header_encode(string) Header-encode the string string. The type of encoding (base64
max_count The maximum number of headers of this type that can have the same name. A value of None
MimeTypes.types_map Tuple containing two dictionaries, mapping filename extensions to MIME types: the first dictionary is for
set_content(*args, content_manager=None, **kw) Call the set_content method of the content_manager, passing
pack() Rename messages in the mailbox as necessary to eliminate gaps in numbering. Entries in the sequences list are updated
remove_flag(flag) Unset the flag(s) specified by flag without changing other flags. To remove more than one flag at
get_file(key) Depending upon the host platform, it may not be possible to remove the underlying message while the returned file
__contains__(key) Return True if key corresponds to a message, False otherwise.
Page 8 of 44