• Home
  • Raw
  • Download

Lines Matching full:email

3 :mod:`email.message.Message`: Representing an email message using the :data:`~email.policy.compat32…
6 .. module:: email.message
7 :synopsis: The base class representing email messages in a fashion
13 :class:`~email.message.EmailMessage` class, without the methods added by that
16 :class:`~email.message.EmailMessage` class, are not recommended unless you are
22 policy :attr:`~email.policy.Compat32`. If you are going to use another policy,
23 you should be using the :class:`~email.message.EmailMessage` class instead.
25 An email message consists of *headers* and a *payload*. Headers must be
57 If *policy* is specified (it must be an instance of a :mod:`~email.policy`
60 <email.policy.Compat32>` policy, which maintains backward compatibility with
61 the Python 3.2 version of the email package. For more information see the
62 :mod:`~email.policy` documentation.
87 :class:`~email.generator.Generator` instance and use its
88 :meth:`~email.generator.Generator.flatten` method directly. For example::
91 from email.generator import Generator
100 :class:`~email.generator.BytesGenerator`.)
129 :class:`~email.generator.BytesGenerator` instance and use its
130 :meth:`~email.generator.BytesGenerator.flatten` method directly.
134 from email.generator import BytesGenerator
183 :class:`~email.emailmessage.EmailMessage` class its functionality is
184 replaced by :meth:`~email.message.EmailMessage.set_content` and the
213 defect property (:class:`~email.errors.InvalidBase64PaddingDefect` or
214 :class:`~email.errors.InvalidBase64CharactersDefect`, respectively).
222 recognized by the email package, the body is decoded using the default
226 :class:`~email.emailmessage.EmailMessage` class its functionality is
227 replaced by :meth:`~email.message.EmailMessage.get_content` and
228 :meth:`~email.message.EmailMessage.iter_parts`.
238 :class:`~email.emailmessage.EmailMessage` class its functionality is
239 replaced by :meth:`~email.message.EmailMessage.set_content`.
245 :class:`~email.charset.Charset` instance (see :mod:`email.charset`), a
247 be converted to a :class:`~email.charset.Charset` instance. If *charset*
261 :class:`~email.charset.Charset`, and a header with the appropriate value
267 :class:`~email.emailmessage.EmailMessage` class its functionality is
269 :meth:`email.emailmessage.EmailMessage.set_content` method.
274 Return the :class:`~email.charset.Charset` instance associated with the
278 :class:`~email.emailmessage.EmailMessage` class it always returns
300 interface, be represented as :class:`~email.header.Header` objects with
488 :class:`~email.emailmessage.EmailMessage` class its functionality is
513 :func:`email.utils.collapse_rfc2231_value`, passing in the return value
519 param = email.utils.collapse_rfc2231_value(rawparam)
526 :class:`~email.emailmessage.EmailMessage` class its functionality is
581 :class:`~email.emailmessage.EmailMessage` class its functionality is
593 :func:`email.utils.unquote`.
601 string will always be unquoted as per :func:`email.utils.unquote`.
608 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
626 :class:`~email.charset.Charset` instance for the default encoding of the message body.
664 import email
665 from email import message_from_binary_file
667 lib_dir = dirname(dirname(email.__file__))
671 from email.iterators import _structure
731 documents. When the :class:`~email.parser.Parser` discovers some text
734 :class:`~email.generator.Generator` is writing out the plain text
737 between the headers and the first boundary. See :mod:`email.parser` and
738 :mod:`email.generator` for details.
751 :class:`~email.generator.Generator` to print a newline at the end of the
758 parsing this message. See :mod:`email.errors` for a detailed description