email.utils.parsedate_to_datetime()
  • References/Python/Python/Internet Data

email.utils.parsedate_to_datetime(date) The inverse of format_datetime(). Performs the same function as parsedate()

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

fold(name, value) The email package calls this method with the name and value currently stored in the Message

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

class mailbox.Message(message=None) A subclass of the

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

unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()

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

binascii.b2a_hex(data) binascii.hexlify(data) Return the hexadecimal representation of the binary data

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

__bytes__() Equivalent to as_bytes(). Allows bytes(msg) to produce a bytes object containing the formatted

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

email.utils.formataddr(pair, charset='utf-8') The inverse of parseaddr(), this takes a 2-tuple of the form (realname

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

get_content(msg, *args, **kw) Look up a handler function based on the mimetype of msg (see next paragraph)

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

mimetypes.add_type(type, ext, strict=True) Add a mapping from the MIME type type to the extension ext. When

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

set_charset(charset) Set the character set of the payload to charset, which can either be a

2025-01-10 15:47:30