MimeTypes.guess_all_extensions(type, strict=True) Similar to the guess_all_extensions() function, using the tables
mimetypes.guess_extension(type, strict=True) Guess the extension for a file based on its MIME type, given by type.
class email.mime.message.MIMEMessage(_msg, _subtype='rfc822') Module: email.mime.message A
get_default_type() Return the default content type. Most messages have a default content type of text/plain
flush() Write any pending changes to the filesystem. For some Mailbox subclasses, changes are always written immediately
class email.headerregistry.DateHeader
items() Return an iterator over (key, message) pairs, where key is a key and message is
add_sequence(sequence) Add sequence to the list of sequences that include this message.
get_info() Return a string containing the “info” for a message. This is useful for accessing and modifying “info” that is experimental
input_codec The name of the Python codec used to convert the input_charset to Unicode. If no conversion codec is necessary
Page 27 of 44