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

email.utils.encode_rfc2231(s, charset=None, language=None) Encode the string s according to

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
mailbox.Mailbox.discard()
  • References/Python/Python/Internet Data

discard(key) Delete the message corresponding to key from the mailbox. If no such message

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

add(message) __setitem__(key, message) update(arg)

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.utils.getaddresses()
  • References/Python/Python/Internet Data

email.utils.getaddresses(fieldvalues) This method returns a list of 2-tuples of the form returned by parseaddr()

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
mailbox.mboxMessage.set_from()
  • References/Python/Python/Internet Data

set_from(from_, time_=None) Set the “From ” line to from_, which should be specified without a leading “From ” or trailing

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

class mailbox.Mailbox A mailbox, which may be inspected and modified. The Mailbox

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

__contains__(key) Return True if key corresponds to a message, False otherwise.

2025-01-10 15:47:30