Lines Matching full:email
1 :mod:`email.message`: Representing an email message
4 .. module:: email.message
5 :synopsis: The base class representing email messages.
10 **Source code:** :source:`Lib/email/message.py`
16 The central class in the :mod:`email` package is the :class:`EmailMessage`
17 class, imported from the :mod:`email.message` module. It is the base class for
18 the :mod:`email` object model. :class:`EmailMessage` provides the core
22 An email message consists of *headers* and a *payload* (which is also referred
57 :class:`~email.policy.default` policy, which follows the rules of the email
60 :mod:`~email.policy` documentation.
67 with the base :class:`~email.message.Message` class *maxheaderlen* is
70 :attr:`~email.policy.EmailPolicy.max_line_length` of the policy. The
74 passed to the :class:`~email.generator.Generator`.
83 :class:`email.generator.Generator` for a more flexible API for
86 :attr:`~email.policy.EmailPolicy.utf8` is ``False``, which is the default.
112 :class:`~email.generator.BytesGenerator`.
121 :class:`email.generator.BytesGenerator` for a more flexible API for
201 instance of a subclass of :class:`email.headerregistry.BaseHeader`.
381 the :attr:`~email.headerregistry.BaseHeader.params` attribute of the
406 :func:`email.utils.unquote`.
414 string will always be unquoted as per :func:`email.utils.unquote`.
421 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
458 with :meth:`~email.message.Message.is_multipart`.
487 from email import message_from_binary_file
490 from email.iterators import _structure
595 :meth:`~email.message.EmailMessage.walk`.)
600 Call the :meth:`~email.contentmanager.ContentManager.get_content` method
604 by the current :mod:`~email.policy`.
609 Call the :meth:`~email.contentmanager.ContentManager.set_content` method
613 by the current :mod:`~email.policy`.
650 and :meth:`~email.message.Message.attach` it to the ``multipart``. If
654 the ``content_manager`` specified by the current :mod:`~email.policy`.
663 :meth:`~email.message.Message.attach` it to the ``multipart``. If the
668 by the current :mod:`~email.policy`.
675 :meth:`~email.message.Message.attach` it to the ``multipart``. If the
679 specified by the current :mod:`~email.policy`. If the added part
711 documents. When the :class:`~email.parser.Parser` discovers some text
714 :class:`~email.generator.Generator` is writing out the plain text
717 between the headers and the first boundary. See :mod:`email.parser` and
718 :mod:`email.generator` for details.
735 parsing this message. See :mod:`email.errors` for a detailed description