email.charset.add_codec(charset, codecname) Add a codec that map characters in the given character set to and from Unicode.
exception email.errors.MessageError This is the base class for all exceptions that the
display_name The display name portion of the address, if any, with all quoting removed. If the address does not have a display
set_flags(flags) Set the flags specified by flags and unset all others. Parameter flags should be the concatenation
body_encode(string) Body-encode the string string. The type of encoding (base64 or
get_body_encoding() Return the content transfer encoding used for body encoding. This is either
write(s) Write the string s to the underlying file object. s is encoded using the ASCII codec
replace_header(_name, _value) Replace a header. Replace the first header found in the message that matches _name, retaining
get_content_disposition() Return the lowercased value (without parameters) of the message’s Content-Disposition
get_boundary(failobj=None) Return the value of the boundary parameter of the Content-Type
Page 37 of 44