clone(**kw) Return a new Policy instance whose attributes have the same values as the current instance, except
pop(key, default=None) Return a representation of the message corresponding to key and delete the message. If no such
content_type The content type string, in the form maintype/subtype.
__setitem__(key, message) update(arg) Warning
add_flag(flag) Set the flag(s) specified by flag without changing other flags. To add more than one flag at a time
set_info(info) Set “info” to info, which should be a string.
binascii.a2b_base64(string) Convert a block of base64 data back to binary and return the binary data. More than one line may
binascii.b2a_base64(data) Convert binary data to a line of ASCII characters in base64 coding. The return value is the converted
add_label(label) Add label to the list of labels on the message.
body_encoding Same as header_encoding, but describes the encoding for the mail message’s body, which indeed may be
Page 26 of 44