email.policy.Policy.register_defect()
  • References/Python/Python/Internet Data

register_defect(obj, defect) Register a defect on obj. In the email package, defect will always be

2025-01-10 15:47:30
email.charset.Charset.header_encode()
  • References/Python/Python/Internet Data

header_encode(string) Header-encode the string string. The type of encoding (base64

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

fold_binary(name, value) The same as fold() if cte_type is 7bit, except that the returned

2025-01-10 15:47:30
mimetypes.MimeTypes.types_map
  • References/Python/Python/Internet Data

MimeTypes.types_map Tuple containing two dictionaries, mapping filename extensions to MIME types: the first dictionary is for

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

email.charset.add_charset(charset, header_enc=None, body_enc=None, output_charset=None) Add character properties to the global

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

base64.b64encode(s, altchars=None) Encode the bytes-like object s using Base64

2025-01-10 15:47:30
email.policy.Policy.mangle_from_
  • References/Python/Python/Internet Data

mangle_from_ If

2025-01-10 15:47:30
mailbox.MH.
  • References/Python/Python/Internet Data

__delitem__(key) discard(key) These methods immediately delete the message. The MH convention of marking a message

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

get_file(key) Using the file after calling flush() or close() on the mbox instance may

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

header_store_parse(name, value) The email package calls this method with the name and value provided by the application program

2025-01-10 15:47:30