mailbox.MaildirMessage.get_flags()
  • References/Python/Python/Internet Data

get_flags() Return a string specifying the flags that are currently set. If the message complies with the standard Maildir format

2025-01-10 15:47:30
base64.encodestring()
  • References/Python/Python/Internet Data

base64.encodestring(s) Encode the bytes-like object s, which can contain arbitrary

2025-01-10 15:47:30
email.message.Message.set_default_type()
  • References/Python/Python/Internet Data

set_default_type(ctype) Set the default content type. ctype should either be text/plain or

2025-01-10 15:47:30
email.utils.localtime()
  • References/Python/Python/Internet Data

email.utils.localtime(dt=None) Return local time as an aware datetime object. If called without arguments, return current time

2025-01-10 15:47:30
email.message.Message.as_string()
  • References/Python/Python/Internet Data

as_string(unixfrom=False, maxheaderlen=0, policy=None) Return the entire message flattened as a string. When optional unixfrom

2025-01-10 15:47:30
email.message.Message.get_filename()
  • References/Python/Python/Internet Data

get_filename(failobj=None) Return the value of the filename parameter of the Content-Disposition

2025-01-10 15:47:30
email.headerregistry.SingleAddressHeader.address
  • References/Python/Python/Internet Data

address The single address encoded by the header value. If the header value actually contains more than one address (which would

2025-01-10 15:47:30
email.utils.quote()
  • References/Python/Python/Internet Data

email.utils.quote(str) Return a new string with backslashes in str replaced by two backslashes, and double quotes replaced

2025-01-10 15:47:30
email.headerregistry.HeaderRegistry.
  • References/Python/Python/Internet Data

__call__(name, value) Retrieves the specialized header associated with name from the registry (using default_class

2025-01-10 15:47:30
quopri.encode()
  • References/Python/Python/Internet Data

quopri.encode(input, output, quotetabs, header=False) Encode the contents of the input file and write the resulting

2025-01-10 15:47:30