Home
last modified time | relevance | path

Searched full:email (Results 1 – 25 of 2336) sorted by relevance

12345678910>>...94

/external/python/cpython3/Doc/library/
Demail.rst1 :mod:`email` --- An email and MIME handling package
4 .. module:: email
6 email messages.
11 **Source code:** :source:`Lib/email/__init__.py`
15 The :mod:`email` package is a library for managing email messages. It is
16 specifically *not* designed to do any sending of email messages to SMTP
18 :mod:`smtplib` and :mod:`nntplib`. The :mod:`email` package attempts to be as
23 The overall structure of the email package can be divided into three major
27 The central component of the package is an "object model" that represents email
29 object model interface defined in the :mod:`~email.message` sub-module. The
[all …]
Demail.mime.rst1 :mod:`email.mime`: Creating email and MIME objects from scratch
4 .. module:: email.mime
7 **Source code:** :source:`Lib/email/mime/`
11 This module is part of the legacy (``Compat32``) email API. Its functionality
12 is partially replaced by the :mod:`~email.contentmanager` in the new API, but
19 :class:`~email.message.Message` objects by hand. In fact, you can also take an
20 existing structure and add new :class:`~email.message.Message` objects, move them
24 You can create a new object structure by creating :class:`~email.message.Message`
26 messages though, the :mod:`email` package provides some convenient subclasses to
31 .. currentmodule:: email.mime.base
[all …]
Demail.parser.rst1 :mod:`email.parser`: Parsing email messages
4 .. module:: email.parser
5 :synopsis: Parse flat text email messages to produce a message object structure.
7 **Source code:** :source:`Lib/email/parser.py`
12 created from whole cloth by creating an :class:`~email.message.EmailMessage`
14 using :meth:`~email.message.EmailMessage.set_content` and related methods, or
15 they can be created by parsing a serialized representation of the email
18 The :mod:`email` package provides a standard parser that understands most email
21 :class:`~email.message.EmailMessage` instance of the object structure. For
24 will return ``True`` from its :meth:`~email.message.EmailMessage.is_multipart`
[all …]
Demail.policy.rst1 :mod:`email.policy`: Policy Objects
4 .. module:: email.policy
12 **Source code:** :source:`Lib/email/policy.py`
16 The :mod:`email` package's prime focus is the handling of email messages as
17 described by the various email and MIME RFCs. However, the general format of
18 email messages (a block of header fields each consisting of a name followed by
21 email. Some of these uses conform fairly closely to the main email RFCs, some
22 do not. Even when working with email, there are times when it is desirable to
24 interoperate with email servers that do not themselves follow the standards, or
28 Policy objects give the email package the flexibility to handle all these
[all …]
Demail.generator.rst1 :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
[all …]
Demail.header.rst1 :mod:`email.header`: Internationalized headers
4 .. module:: email.header
7 **Source code:** :source:`Lib/email/header.py`
11 This module is part of the legacy (``Compat32``) email API. In the current API
13 dictionary-like API of the :class:`~email.message.EmailMessage` class. In
19 :rfc:`2822` is the base standard that describes the format of email messages.
21 a time when most email was composed of ASCII characters only. :rfc:`2822` is a
22 specification written assuming email contains only 7-bit ASCII characters.
24 Of course, as email has been deployed worldwide, it has become
26 email messages. The base standard still requires email messages to be
[all …]
Demail.errors.rst1 :mod:`email.errors`: Exception and Defect classes
4 .. module:: email.errors
5 :synopsis: The exception classes used by the email package.
7 **Source code:** :source:`Lib/email/errors.py`
11 The following exception classes are defined in the :mod:`email.errors` module:
16 This is the base class for all exceptions that the :mod:`email` package can
24 :class:`~email.parser.Parser` class. It is derived from
26 by :mod:`~email.headerregistry`.
33 :meth:`~email.message.EmailMessage.set_boundary` method will raise this
35 :class:`~email.header.Header` may raise this error for certain base64
[all …]
Demail.compat32-message.rst3 :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
[all …]
Demail.examples.rst3 :mod:`email`: Examples
6 Here are a few examples of how to use the :mod:`email` package to read, write,
7 and send simple email messages, as well as more complex MIME messages.
12 .. literalinclude:: ../includes/email-simple.py
16 from the :mod:`~email.parser` module:
18 .. literalinclude:: ../includes/email-headers.py
24 .. literalinclude:: ../includes/email-mime.py
27 Here's an example of how to send the entire contents of a directory as an email
30 .. literalinclude:: ../includes/email-dir.py
36 .. literalinclude:: ../includes/email-unpack.py
[all …]
/external/python/cpython2/Doc/library/
Demail.rst1 :mod:`email` --- An email and MIME handling package
4 .. module:: email
5 :synopsis: Package supporting the parsing, manipulating, and generating email messages,
14 The :mod:`email` package is a library for managing email messages, including
18 :mod:`mimecntl`. It is specifically *not* designed to do any sending of email
20 modules such as :mod:`smtplib` and :mod:`nntplib`. The :mod:`email` package
25 The primary distinguishing feature of the :mod:`email` package is that it splits
26 the parsing and generating of email messages from the internal *object model*
27 representation of email. Applications using the :mod:`email` package deal
36 The following sections describe the functionality of the :mod:`email` package.
[all …]
Demail.mime.rst1 :mod:`email.mime`: Creating email and MIME objects from scratch
4 .. module:: email.mime
11 :class:`~email.message.Message` objects by hand. In fact, you can also take an
12 existing structure and add new :class:`~email.message.Message` objects, move them
16 You can create a new object structure by creating :class:`~email.message.Message`
18 messages though, the :mod:`email` package provides some convenient subclasses to
23 .. currentmodule:: email.mime.base
27 Module: :mod:`email.mime.base`
30 :class:`~email.message.Message`. Ordinarily you won't create instances
39 <email.message.Message.add_header>`.
[all …]
Demail.parser.rst1 :mod:`email.parser`: Parsing email messages
4 .. module:: email.parser
5 :synopsis: Parse flat text email messages to produce a message object structure.
9 from whole cloth by instantiating :class:`~email.message.Message` objects and
10 stringing them together via :meth:`~email.message.Message.attach` and
11 :meth:`~email.message.Message.set_payload` calls, or they
12 can be created by parsing a flat text representation of the email message.
14 The :mod:`email` package provides a standard parser that understands most email
17 :class:`~email.message.Message` instance of the object structure. For simple,
20 return ``True`` from its :meth:`~email.message.Message.is_multipart` method, and
[all …]
Demail.errors.rst1 :mod:`email.errors`: Exception and Defect classes
4 .. module:: email.errors
5 :synopsis: The exception classes used by the email package.
8 The following exception classes are defined in the :mod:`email.errors` module:
13 This is the base class for all exceptions that the :mod:`email` package can
20 This is the base class for exceptions raised by the :class:`~email.parser.Parser`
28 from the :meth:`Parser.parse <email.parser.Parser.parse>` or
29 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
41 from the :meth:`Parser.parse <email.parser.Parser.parse>` or
42 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
[all …]
Demail.header.rst1 :mod:`email.header`: Internationalized headers
4 .. module:: email.header
8 :rfc:`2822` is the base standard that describes the format of email messages.
10 a time when most email was composed of ASCII characters only. :rfc:`2822` is a
11 specification written assuming email contains only 7-bit ASCII characters.
13 Of course, as email has been deployed worldwide, it has become
15 email messages. The base standard still requires email messages to be
17 written describing how to encode email containing non-ASCII characters into
19 :rfc:`2047`, and :rfc:`2231`. The :mod:`email` package supports these standards
20 in its :mod:`email.header` and :mod:`email.charset` modules.
[all …]
/external/icing/icing/util/
Ddocument-validator_test.cc107 .SetKey(kDefaultNamespace, "email/1") in SimpleEmailBuilder()
132 DocumentProto email = SimpleEmailBuilder().Build(); in TEST_F() local
133 EXPECT_THAT(document_validator_->Validate(email), IsOk()); in TEST_F()
140 DocumentProto email = SimpleEmailBuilder().SetNamespace("").Build(); in TEST_F() local
141 EXPECT_THAT(document_validator_->Validate(email), in TEST_F()
147 DocumentProto email = SimpleEmailBuilder().SetUri("").Build(); in TEST_F() local
148 EXPECT_THAT(document_validator_->Validate(email), in TEST_F()
168 DocumentProto email = SimpleEmailBuilder().SetSchema("").Build(); in TEST_F() local
169 EXPECT_THAT(document_validator_->Validate(email), in TEST_F()
175 DocumentProto email = in TEST_F() local
[all …]
/external/python/cpython3/Lib/test/test_email/
Dtest_policy.py5 import email.errors
6 import email.policy
7 import email.parser
8 import email.generator
9 import email.message
10 from email import headerregistry
30 # These default values are the ones set on email.policy.default.
36 'header_factory': email.policy.EmailPolicy.header_factory,
38 'content_manager': email.policy.EmailPolicy.content_manager,
40 'message_factory': email.message.EmailMessage,
[all …]
/external/python/google-api-python-client/docs/dyn/
Didentitytoolkit_v3.relyingparty.html166 "identifier": "A String", # The email or federated ID of the user.
178 "registered": True or False, # Whether the user is registered if the identifier is an email.
244 "emailVerified": True or False, # Whether the email has been verified.
259 "email": "A String", # User's email at IDP.
265 "email": "A String", # The email of the user.
295 { # Request to sign in with email.
298 "email": "A String", # The email address of the user.
305 { # Response of email signIn.
312 "email": "A String", # The user's email.
330 "email": [ # The list of emails of the users to inquiry.
[all …]
Dadmin_directory_v1.members.html107 groupKey: string, Email or immutable ID of the group (required)
108 memberKey: string, Email or immutable ID of the member (required)
117 groupKey: string, Email or immutable ID of the group (required)
118 memberKey: string, Email or immutable ID of the member (required)
131 "email": "A String", # Email of member (Read-only)
140 …groupKey: string, Identifies the group in the API request. The value can be the group's email addr…
141 …s the user member in the API request. The value can be the user's primary email address, alias, or…
156 groupKey: string, Email or immutable ID of the group (required)
168 "email": "A String", # Email of member (Read-only)
183 "email": "A String", # Email of member (Read-only)
[all …]
Dstorage_v1beta1.buckets.html140 # - user-email
142 # - group-email
149 "email": "A String", # The email address associated with the entity, if any.
164 # - user-email
166 # - group-email
173 "email": "A String", # The email address associated with the entity, if any.
213 # - user-email
215 # - group-email
222 "email": "A String", # The email address associated with the entity, if any.
237 # - user-email
[all …]
/external/python/cpython2/Lib/email/
D__init__.py3 # Contact: email-sig@python.org
5 """A package for parsing, handling, and generating email messages."""
49 # of importing email since those cascadingly import most of the rest of the
50 # email package.
56 from email.parser import Parser
65 from email.parser import Parser
71 # email 4.0 module names), to old-style names (email 3.0 module names).
76 self.__name__ = 'email.' + module_name
86 # email.<old name> -> email.<new name is lowercased old name>
102 # email.MIME<old name> -> email.mime.<new name is lowercased old name>
[all …]
/external/python/cpython3/Tools/scripts/
Dmailerdaemon.py5 import email.message
15 class ErrorMessage(email.message.Message):
17 email.message.Message.__init__(self)
42 # If a re, it should contain at least a group (?P<email>...) which
43 # should refer to the email address. The re can also contain a group
49 # multiple email addresses. The second re is matched (not searched)
53 'error: (?P<reason>unresolvable): (?P<email>.+)',
55 '(?P<email>[^ \n].*)\n( .*\n)?'),
56 'remote execution.*\n.*rmail (?P<email>.+)',
58 ' +(?P<email>.*)\n(The following recipients did not receive your message:\n\n)?'),
[all …]
/external/libwebsockets/minimal-examples/api-tests/api-test-smtp_client/
Dmain.c19 email_sent_or_failed(struct lws_smtp_email *email, void *buf, size_t len) in email_sent_or_failed() argument
21 free(email); in email_sent_or_failed()
28 * the test. In our case, we need to queue up a test email to send on the
35 lws_smtp_email_t *email = (lws_smtp_email_t *) in smtp_test_instance_init() local
36 malloc(sizeof(*email) + 2048); in smtp_test_instance_init()
38 if (!email) in smtp_test_instance_init()
41 /* attach an email to it */ in smtp_test_instance_init()
43 memset(email, 0, sizeof(*email)); in smtp_test_instance_init()
44 email->data = NULL /* email specific user data */; in smtp_test_instance_init()
45 email->email_from = "noreply@warmcat.com"; in smtp_test_instance_init()
[all …]
/external/python/cpython2/Tools/scripts/
Dmailerdaemon.py37 # If a re, it should contain at least a group (?P<email>...) which
38 # should refer to the email address. The re can also contain a group
44 # multiple email addresses. The second re is matched (not searched)
48 'error: (?P<reason>unresolvable): (?P<email>.+)',
50 '(?P<email>[^ \n].*)\n( .*\n)?'),
51 'remote execution.*\n.*rmail (?P<email>.+)',
53 ' +(?P<email>.*)\n(The following recipients did not receive your message:\n\n)?'),
54 '------- Failure Reasons --------\n\n(?P<reason>.*)\n(?P<email>.*)',
55 '^<(?P<email>.*)>:\n(?P<reason>.*)',
56 '^(?P<reason>User mailbox exceeds allowed size): (?P<email>.+)',
[all …]
/external/libwebsockets/include/libwebsockets/abstract/protocols/
Dsmtp.h29 * These apis let you communicate with a local SMTP server to send email from
33 * 25 and able to send email using the "mail" commandline app. Usually distro
38 * connections, and provides and email queue and retry management.
78 * lws_smtpc_add_email() - Allocates and queues an email object
81 * \param payload: the email payload string, with headers and terminating .
83 * \param sender: the sender name and email
84 * \param recipient: the recipient name and email
86 * \param done: callback called when the email send succeeded or failed
88 * Allocates an email object and copies the payload, sender and recipient into
89 * it and initializes it. Returns NULL if OOM, otherwise the allocated email
[all …]
/external/icing/icing/result/
Dresult-retriever_test.cc94 .SetType("Email") in SetUp()
169 .SetKey("icing", "Email/" + std::to_string(id)) in CreateDocument()
170 .SetSchema("Email") in CreateDocument()
227 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F()
228 GetSectionId("Email", "body")}; in TEST_F()
279 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F()
280 GetSectionId("Email", "body")}; in TEST_F()
328 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F()
329 GetSectionId("Email", "body")}; in TEST_F()
379 std::vector<SectionId> hit_section_ids = {GetSectionId("Email", "name"), in TEST_F()
[all …]

12345678910>>...94