• 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
12 :class:`~email.message.EmailMessage` class, without the methods added by that
15 :class:`~email.message.EmailMessage` class, are not recommended unless you are
21 policy :attr:`~email.policy.Compat32`. If you are going to use another policy,
22 you should be using the :class:`~email.message.EmailMessage` class instead.
24 An email message consists of *headers* and a *payload*. Headers must be
56 If *policy* is specified (it must be an instance of a :mod:`~email.policy`
59 <email.policy.Compat32>` policy, which maintains backward compatibility with
60 the Python 3.2 version of the email package. For more information see the
61 :mod:`~email.policy` documentation.
86 :class:`~email.generator.Generator` instance and use its
87 :meth:`~email.generator.Generator.flatten` method directly. For example::
90 from email.generator import Generator
99 :class:`~email.generator.BytesGenerator`.)
128 :class:`~email.generator.BytesGenerator` instance and use its
129 :meth:`~email.generator.BytesGenerator.flatten` method directly.
133 from email.generator import BytesGenerator
182 :class:`~email.emailmessage.EmailMessage` class its functionality is
183 replaced by :meth:`~email.message.EmailMessage.set_content` and the
212 defect property (:class:`~email.errors.InvalidBase64PaddingDefect` or
213 :class:`~email.errors.InvalidBase64CharactersDefect`, respectively).
221 recognized by the email package, the body is decoded using the default
225 :class:`~email.emailmessage.EmailMessage` class its functionality is
226 replaced by :meth:`~email.message.EmailMessage.get_content` and
227 :meth:`~email.message.EmailMessage.iter_parts`.
237 :class:`~email.emailmessage.EmailMessage` class its functionality is
238 replaced by :meth:`~email.message.EmailMessage.set_content`.
244 :class:`~email.charset.Charset` instance (see :mod:`email.charset`), a
246 be converted to a :class:`~email.charset.Charset` instance. If *charset*
260 :class:`~email.charset.Charset`, and a header with the appropriate value
266 :class:`~email.emailmessage.EmailMessage` class its functionality is
268 :meth:`email.emailmessage.EmailMessage.set_content` method.
273 Return the :class:`~email.charset.Charset` instance associated with the
277 :class:`~email.emailmessage.EmailMessage` class it always returns
299 interface, be represented as :class:`~email.header.Header` objects with
487 :class:`~email.emailmessage.EmailMessage` class its functionality is
512 :func:`email.utils.collapse_rfc2231_value`, passing in the return value
518 param = email.utils.collapse_rfc2231_value(rawparam)
525 :class:`~email.emailmessage.EmailMessage` class its functionality is
580 :class:`~email.emailmessage.EmailMessage` class its functionality is
592 :func:`email.utils.unquote`.
600 string will always be unquoted as per :func:`email.utils.unquote`.
607 necessary. A :exc:`~email.errors.HeaderParseError` is raised if the
625 :class:`~email.charset.Charset` instance for the default encoding of the message body.
663 >>> from email import message_from_binary_file
666 >>> from email.iterators import _structure
726 documents. When the :class:`~email.parser.Parser` discovers some text
729 :class:`~email.generator.Generator` is writing out the plain text
732 between the headers and the first boundary. See :mod:`email.parser` and
733 :mod:`email.generator` for details.
746 :class:`~email.generator.Generator` to print a newline at the end of the
753 parsing this message. See :mod:`email.errors` for a detailed description