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
mimetypes.MimeTypes.types_map_inv
  • References/Python/Python/Internet Data

MimeTypes.types_map_inv Tuple containing two dictionaries, mapping MIME types to a list of filename extensions: the first dictionary

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

make_mixed(boundary=None) Convert a non-multipart, a multipart/related, or a multipart-alternative

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

binascii.b2a_hqx(data) Perform hexbin4 binary-to-ASCII translation and return the resulting string. The argument should already

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

encode(splitchars=';, \t', maxlinelen=None, linesep='\n') Encode a message header into an RFC-compliant format, possibly wrapping

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

domain The domain portion of the address.

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

max_count The maximum number of headers of this type that can have the same name. A value of None

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

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

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