email.policy.Compat32.header_source_parse()
  • References/Python/Python/Internet Data

header_source_parse(sourcelines) The name is parsed as everything up to the ‘:‘ and returned unmodified. The value

2025-01-10 15:47:30
email.policy.Compat32.header_store_parse()
  • References/Python/Python/Internet Data

header_store_parse(name, value) The name and value are returned unmodified.

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

clear() Remove the payload and all of the headers.

2025-01-10 15:47:30
json.JSONEncoder.default()
  • References/Python/Python/Internet Data

default(o) Implement this method in a subclass such that it returns a serializable object for o, or calls the base

2025-01-10 15:47:30
mailbox.Maildir.add_folder()
  • References/Python/Python/Internet Data

add_folder(folder) Create a folder whose name is folder and return a Maildir instance representing it

2025-01-10 15:47:30
email.policy.EmailPolicy.header_store_parse()
  • References/Python/Python/Internet Data

header_store_parse(name, value) The name is returned unchanged. If the input value has a name attribute and it

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

email.contentmanager.get_content(msg, errors='replace') Return the payload of the part as either a string (for text

2025-01-10 15:47:30
json.JSONDecoder.raw_decode()
  • References/Python/Python/Internet Data

raw_decode(s) Decode a JSON document from s (a

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

add_attachment(*args, content_manager=None, **kw) If the message is a multipart/mixed, create a new message object

2025-01-10 15:47:30
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