Lines Matching full:email
1 :mod:`email.generator`: Generating MIME documents
4 .. module:: email.generator
5 :synopsis: Generate flat text email messages from a message structure.
7 **Source code:** :source:`Lib/email/generator.py`
12 the email message represented by a message object structure. You will need to
18 As with the :mod:`email.parser` module, you aren't limited to the functionality
20 the bundled generator knows how to generate most email in a standards-compliant
21 way, should handle MIME and non-MIME email messages just fine, and is designed
23 assuming the same non-transforming :mod:`~email.policy` is used for both. That
25 :class:`~email.parser.BytesParser` class and then regenerating the serialized
28 :class:`~email.message.EmailMessage` constructed by program may result in
29 changes to the :class:`~email.message.EmailMessage` object as defaults are
35 something that contains only ASCII characters, using the standard email RFC
36 Content Transfer Encoding techniques for encoding email messages for transport
55 defaults to the value of the :attr:`~email.policy.Policy.mangle_from_`
57 :data:`~email.policy.compat32` policy and ``False`` for all others).
69 :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
71 :mod:`email.policy` for details on what *policy* controls.
87 If the :mod:`~email.policy` option :attr:`~email.policy.Policy.cte_type`
130 As a convenience, :class:`~email.message.EmailMessage` provides the methods
131 :meth:`~email.message.EmailMessage.as_bytes` and ``bytes(aMessage)`` (a.k.a.
132 :meth:`~email.message.EmailMessage.__bytes__`), which simplify the generation of
134 :mod:`email.message`.
140 :mailheader:`Content-Transfer_Encoding`. Using the terminology of the email
156 defaults to the value of the :attr:`~email.policy.Policy.mangle_from_`
158 :data:`~email.policy.compat32` policy and ``False`` for all others).
170 :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
172 :mod:`email.policy` for details on what *policy* controls.
186 If the :mod:`~email.policy` option :attr:`~email.policy.Policy.cte_type`
228 As a convenience, :class:`~email.message.EmailMessage` provides the methods
229 :meth:`~email.message.EmailMessage.as_string` and ``str(aMessage)`` (a.k.a.
230 :meth:`~email.message.EmailMessage.__str__`), which simplify the generation of
232 :mod:`email.message`.
235 The :mod:`email.generator` module also provides a derived class,
279 :attr:`~email.policy.Policy.refold_source` must be ``none``, which is