Home
last modified time | relevance | path

Searched refs:EmailMessage (Results 1 – 25 of 31) sorted by relevance

12

/external/python/cpython3/Lib/test/test_email/
Dtest_message.py4 from email.message import EmailMessage, MIMEPart
35 self.assertIsInstance(m, EmailMessage)
747 message = EmailMessage
783 m = EmailMessage()
795 m = EmailMessage()
812 m = EmailMessage()
828 m = EmailMessage()
844 m = EmailMessage()
858 m = EmailMessage()
872 m = EmailMessage()
[all …]
Dtest_inversion.py10 from email.message import EmailMessage
30 message = EmailMessage
Dtest_parser.py4 from email.message import Message, EmailMessage
70 class MyMessage(EmailMessage):
Dtest_generator.py5 from email.message import EmailMessage
275 msg = EmailMessage()
296 msg = EmailMessage()
Dtest_policy.py40 'message_factory': email.message.EmailMessage,
141 msg = email.message.EmailMessage()
Dtest_contentmanager.py5 from email.message import EmailMessage
13 message = EmailMessage
146 message = EmailMessage
/external/python/cpython3/Doc/library/
Demail.parser.rst12 created from whole cloth by creating an :class:`~email.message.EmailMessage`
14 using :meth:`~email.message.EmailMessage.set_content` and related methods, or
21 :class:`~email.message.EmailMessage` instance of the object structure. For
24 will return ``True`` from its :meth:`~email.message.EmailMessage.is_multipart`
26 such as :meth:`~email.message.EmailMessage.get_body`,
27 :meth:`~email.message.EmailMessage.iter_parts`, and
28 :meth:`~email.message.EmailMessage.walk`.
42 :class:`~email.message.EmailMessage` class is embodied in the :mod:`policy`
66 :attr:`~email.message.EmailMessage.defects` attribute with a list of any
85 provide :class:`~email.message.EmailMessage` as the default *_factory*. For
[all …]
Demail.rst34 structure of objects that all provide the :class:`~email.message.EmailMessage`
40 :class:`~email.message.EmailMessage` objects. The generator takes an
41 :class:`~email.message.EmailMessage` and turns it back into a serialized byte
47 :class:`~email.message.EmailMessage`, every :mod:`~email.generator`, and every
50 when an :class:`~email.message.EmailMessage` is created, either by directly
51 instantiating an :class:`~email.message.EmailMessage` to create a new email,
102 :class:`~email.message.EmailMessage`/:class:`~email.policy.EmailPolicy`
Demail.generator.rst28 :class:`~email.message.EmailMessage` constructed by program may result in
29 changes to the :class:`~email.message.EmailMessage` object as defaults are
69 :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
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
170 :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
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
Demail.message.rst16 The central class in the :mod:`email` package is the :class:`EmailMessage`
18 the :mod:`email` object model. :class:`EmailMessage` provides the core
31 The conceptual model provided by an :class:`EmailMessage` object is that of an
33 :rfc:`5322` body of the message, which might be a list of sub-``EmailMessage``
40 The :class:`EmailMessage` dictionary-like interface is indexed by the header
48 objects, or a list of :class:`EmailMessage` objects, for MIME container
53 .. class:: EmailMessage(policy=default)
76 Flattening the message may trigger changes to the :class:`EmailMessage`
114 Flattening the message may trigger changes to the :class:`EmailMessage`
134 sub-\ :class:`EmailMessage` objects, otherwise return ``False``. When
[all …]
Demail.contentmanager.rst47 paragraph), call :meth:`~email.message.EmailMessage.clear_content` on the
112 :class:`~email.message.EmailMessage` object (for ``message/rfc822``
126 set_content(msg, <'EmailMessage'>, cte=None, \
139 * For :class:`~email.message.EmailMessage` objects, set the maintype
160 * For :class:`~email.message.EmailMessage`, per :rfc:`2046`, raise
168 The ``EmailMessage`` object as modified by ``set_content`` is
Demail.compat32-message.rst13 :class:`~email.message.EmailMessage` class, without the methods added by that
16 :class:`~email.message.EmailMessage` class, are not recommended unless you are
23 you should be using the :class:`~email.message.EmailMessage` class instead.
183 :class:`~email.emailmessage.EmailMessage` class its functionality is
184 replaced by :meth:`~email.message.EmailMessage.set_content` and the
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`.
[all …]
Demail.policy.rst45 :class:`~email.message.EmailMessage` is the :class:`EmailPolicy` policy, via
48 When a :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
276 Called when a header is added to an :class:`~email.message.EmailMessage`
380 attribute is :class:`~email.message.EmailMessage`.
431 the :meth:`~email.message.EmailMessage.get_content` or
432 :meth:`~email.message.EmailMessage.set_content` method of an
433 :class:`~email.message.EmailMessage` object is called, it calls the
572 :class:`~email.message.EmailMessage` is a header object with extra
Demail.encoders.rst13 the :meth:`~email.message.EmailMessage.set_content` method.
Demail.errors.rst33 :meth:`~email.message.EmailMessage.set_boundary` method will raise this
Dimportlib.metadata.rst264 :class:`email.message.EmailMessage`
Demail.header.rst13 dictionary-like API of the :class:`~email.message.EmailMessage` class. In
/external/python/cpython3/Doc/includes/
Demail-simple.py5 from email.message import EmailMessage
10 msg = EmailMessage()
Demail-mime.py8 from email.message import EmailMessage
11 msg = EmailMessage()
Demail-alternative.py5 from email.message import EmailMessage
10 msg = EmailMessage()
Demail-dir.py12 from email.message import EmailMessage
43 msg = EmailMessage()
/external/python/cpython3/Lib/email/
Dpolicy.py11 from email.message import EmailMessage
87 message_factory = EmailMessage
Dmessage.py1168 class EmailMessage(MIMEPart): class
/external/python/cpython3/Lib/test/
Dtest_smtplib.py4 from email.message import EmailMessage
659 self.msg = EmailMessage()
1213 msg = EmailMessage()
1230 message = EmailMessage()
1345 msg = EmailMessage()
/external/python/cpython3/Lib/logging/
Dhandlers.py1021 from email.message import EmailMessage
1028 msg = EmailMessage()

12