set_flags(flags) Set the flags specified by flags and unset all others. Parameter flags should be the concatenation
iteritems() items() Return an iterator over (key, message) pairs, where key is a key
get_charsets(failobj=None) Return a list containing the character set names in the message. If the message is a
add_get_handler(key, handler) Record the function handler as the handler for key. For the possible values
set_content(msg, obj, *args, **kw) If the maintype is multipart, raise a
set_sequences(sequences) Set the list of sequences that include this message.
__eq__(other) This method allows you to compare two Header instances for equality.
fold(name, value) Header folding is controlled by the refold_source policy setting. A value is considered to be
email.message_from_bytes(s, _class=email.message.Message, *, policy=policy.compat32) Return a message object structure from
unlock() Release the lock on the mailbox, if any.
Page 39 of 44