Home
last modified time | relevance | path

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

12

/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
65 :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
126 As a convenience, :class:`~email.message.EmailMessage` provides the methods
127 :meth:`~email.message.EmailMessage.as_bytes` and ``bytes(aMessage)`` (a.k.a.
128 :meth:`~email.message.EmailMessage.__bytes__`), which simplify the generation of
166 :class:`~email.message.Message` or :class:`~email.message.EmailMessage`
224 As a convenience, :class:`~email.message.EmailMessage` provides the methods
225 :meth:`~email.message.EmailMessage.as_string` and ``str(aMessage)`` (a.k.a.
226 :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.rst12 :class:`~email.message.EmailMessage` class, without the methods added by that
15 :class:`~email.message.EmailMessage` class, are not recommended unless you are
22 you should be using the :class:`~email.message.EmailMessage` class instead.
182 :class:`~email.emailmessage.EmailMessage` class its functionality is
183 replaced by :meth:`~email.message.EmailMessage.set_content` and the
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`.
[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
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/test/test_email/
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_message.py4 from email.message import EmailMessage, MIMEPart
35 self.assertIsInstance(m, EmailMessage)
747 message = EmailMessage
783 m = EmailMessage()
Dtest_generator.py5 from email.message import EmailMessage
274 msg = EmailMessage()
Dtest_contentmanager.py5 from email.message import EmailMessage
13 message = EmailMessage
146 message = EmailMessage
Dtest_policy.py39 'message_factory': email.message.EmailMessage,
/external/python/cpython3/Lib/email/
Dpolicy.py10 from email.message import EmailMessage
86 message_factory = EmailMessage
Dmessage.py1159 class EmailMessage(MIMEPart): class
/external/python/cpython3/Lib/test/
Dtest_smtplib.py4 from email.message import EmailMessage
585 self.msg = EmailMessage()
1108 msg = EmailMessage()
1124 message = EmailMessage()
1232 msg = EmailMessage()
/external/python/cpython3/Lib/logging/
Dhandlers.py1001 from email.message import EmailMessage
1008 msg = EmailMessage()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst2178 Fix API bug: email.message.EmailMessage.is_attachment is now a method.
2187 Fix email.message.EmailMessage.is_attachment to return the correct result

12