email.utils: Miscellaneous utilities — Python 3.14.7 documentation

docs.python.org

Tin mới

email.encoders: Encoders

email.iterators: Iterators

Python Module Index

3.14.7 Documentation

The Python Standard Library

Internet Data Handling

email — An email and MIME handling package

email.charset.Charset

The inverse of parseaddr(), this takes a 2-tuple of the form (realname, email_address) and returns the string value suitable for a To or Cc header. If the first element of pair is false, then the second element is return

email.message.Message.get_all

This method returns a list of 2-tuples of the form returned by parseaddr(). fieldvalues is a sequence of header field values as might be returned by Message.get_all.

datetime: Basic date and time types.