get_flags() Return a string specifying the flags that are currently set. If the message complies with the standard Maildir format
base64.encodestring(s) Encode the bytes-like object s, which can contain arbitrary
set_default_type(ctype) Set the default content type. ctype should either be text/plain or
email.utils.localtime(dt=None) Return local time as an aware datetime object. If called without arguments, return current time
as_string(unixfrom=False, maxheaderlen=0, policy=None) Return the entire message flattened as a string. When optional unixfrom
get_filename(failobj=None) Return the value of the filename parameter of the Content-Disposition
address The single address encoded by the header value. If the header value actually contains more than one address (which would
email.utils.quote(str) Return a new string with backslashes in str replaced by two backslashes, and double quotes replaced
__call__(name, value) Retrieves the specialized header associated with name from the registry (using default_class
quopri.encode(input, output, quotetabs, header=False) Encode the contents of the input file and write the resulting
Page 32 of 44