Home
last modified time | relevance | path

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

12345678910>>...53

/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 …]
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.
11 .. literalinclude:: ../includes/email-simple.py
17 .. literalinclude:: ../includes/email-headers.py
23 .. literalinclude:: ../includes/email-mime.py
26 Here's an example of how to send the entire contents of a directory as an email
29 .. literalinclude:: ../includes/email-dir.py
35 .. literalinclude:: ../includes/email-unpack.py
40 .. literalinclude:: ../includes/email-alternative.py
Demail.charset.rst1 :mod:`email.charset`: Representing character sets
4 .. module:: email.charset
9 and character set conversions in email messages, as well as a character set
12 :mod:`email` package.
14 Import this class from the :mod:`email.charset` module.
21 Map character sets to their email properties.
23 This class provides information about the requirements imposed on email for a
27 character set in an email message in an RFC-compliant way.
30 in email headers or bodies. Certain character sets must be converted outright,
31 and are not allowed in email.
[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.
8 One of the most common tasks is to generate the flat text of the email message
14 Again, as with the :mod:`email.parser` module, you aren't limited to the
16 yourself. However the bundled generator knows how to generate most email in a
17 standards-compliant way, should handle MIME and non-MIME email messages just
19 structure via the :class:`~email.parser.Parser` class, and back to flat text,
21 using the Generator on a :class:`~email.message.Message` constructed by program
22 may result in changes to the :class:`~email.message.Message` object as defaults
[all …]
Demail.message.rst1 :mod:`email.message`: Representing an email message
4 .. module:: email.message
5 :synopsis: The base class representing email messages.
8 The central class in the :mod:`email` package is the :class:`Message` class,
9 imported from the :mod:`email.message` module. It is the base class for the
10 :mod:`email` object model. :class:`Message` provides the core functionality for
51 :class:`~email.generator.Generator` instance and use its
52 :meth:`~email.generator.Generator.flatten` method directly. For example::
55 from email.generator import Generator
132 :class:`~email.charset.Charset` instance (see :mod:`email.charset`), a
[all …]
Demail.encoders.rst1 :mod:`email.encoders`: Encoders
4 .. module:: email.encoders
5 :synopsis: Encoders for email message payloads.
8 When creating :class:`~email.message.Message` objects from scratch, you often
13 The :mod:`email` package provides some convenient encodings in its
15 :class:`~email.mime.audio.MIMEAudio` and :class:`~email.mime.image.MIMEImage`
/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 …]
Dcharset.py3 # Contact: email-sig@python.org
13 import email.base64mime
14 import email.quoprimime
16 from email import errors
17 from email.encoders import encode_7or8bit
66 # them to the real ones used in email.
157 """Map character sets to their email properties.
159 This class provides information about the requirements imposed on email
163 information on how to use that character set in an email in an
167 when used in email headers or bodies. Certain character sets must be
[all …]
Dbase64mime.py3 # Contact: email-sig@python.org
11 It is used in the MIME standards for email to attach images, audio, and text
23 decoding. To deal with the various line wrapping issues, use the email.header
40 from email.utils import fix_eols
76 to the canonical email line separator \\r\\n unless the keep_eols
81 this function directly in email.
129 canonical email end-of-line sequence \\r\\n. Otherwise they will be left
134 in an email.
163 If convert_eols is set to a string value, all canonical email linefeeds,
170 level email.header class for that functionality.
/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/autotest/client/common_lib/
Dmail.py1 import os, email, smtplib
6 Send out a plain old text email. It uses sendmail by default, but
10 from_address: the email address to put in the "From:" field
12 strings to put in the "To:" field of the email
14 strings to put in the "Cc:" field of the email
15 subject: the email subject
16 message_body: the body of the email. there's no special
30 message = email.Message.Message()
/external/libxml2/test/relaxng/
Dtutor3_5_1.xml2 <card name="John Smith" email="js@example.com"/>
3 <card email="js@example.com" name="John Smith"/>
4 <card email="js@example.com"><name>John Smith</name></card>
5 <card name="John Smith"><email>js@example.com</email></card>
6 <card><name>John Smith</name><email>js@example.com</email></card>
/external/python/cpython2/Doc/includes/
Demail-mime.py4 # Here are the email package modules we'll need
5 from email.mime.image import MIMEImage
6 from email.mime.multipart import MIMEMultipart
10 # Create the container (outer) email message.
13 # me == the sender's email address
14 # family = the list of all recipients' email addresses
28 # Send the email via our own SMTP server.
Demail-dir.py13 from email import encoders
14 from email.message import Message
15 from email.mime.audio import MIMEAudio
16 from email.mime.base import MIMEBase
17 from email.mime.image import MIMEImage
18 from email.mime.multipart import MIMEMultipart
19 from email.mime.text import MIMEText
30 Unless the -o option is given, the email is sent by forwarding to your local
Demail-alternative.py5 from email.mime.multipart import MIMEMultipart
6 from email.mime.text import MIMEText
8 # me == my email address
9 # you == recipient's email address
10 me = "my@email.com"
11 you = "your@email.com"
/external/toolchain-utils/cros_utils/
Demail_sender.py4 """Utilities to send email either through SMTP or SendGMR."""
8 from email import encoders as Encoders
9 from email.mime.base import MIMEBase
10 from email.mime.multipart import MIMEMultipart
11 from email.mime.text import MIMEText
20 """Utility class to send email through SMTP or SendGMR."""
38 """Choose appropriate email method and call it."""
48 """Send email via standard smtp mail."""
49 # Email summary to the current user.
85 """Send email via sendgmr program."""
/external/autotest/client/site_tests/telemetry_LoginTest/
Dtelemetry_LoginTest.py26 email = login_status['email']
29 return (is_regular_user, email)
41 (is_regular_user, email) = self._get_login_status(cr)
44 if email != cr.username:
45 raise error.TestFail('user email mismatch %s' % email)
/external/autotest/site_utils/
Dgmail_lib.py25 from email.mime.text import MIMEText
65 """An email message."""
106 'could not send email.')
112 """Send an email message.
121 logging.debug('Email sent: %s' , message['id'])
124 logging.error('Failed to send email: %s', error)
130 """Send email.
133 @param subject: Subject of the email.
142 logging.error('Failed to send email to %s: Credential file does not'
144 'install it. If you need to be able to send email, '
[all …]
/external/python/cpython2/Lib/email/test/
Dtest_email_torture.py3 # A torture test of the email package. This should not be run as part of the
4 # standard Python test suite since it requires several meg of email messages
6 # Python distro, but are available as part of the standalone email package at
15 from email.test.test_email import TestEmailBase
18 import email
19 from email import __file__ as testfile
20 from email.iterators import _structure
39 msg = email.message_from_file(fp)
/external/libphonenumber/
Dpom.xml48 <email>jia.shao.peng@gmail.com</email>
58 <email>lararennie@google.com</email>
69 <email>tronikos@gmail.com</email>
72 <name>g1smd.email</name>
73 <email>g1smd.email@gmail.com</email>
77 <email>philip.liard@gmail.com</email>
/external/e2fsprogs/
DSHLIBS4 Email: tytso@mit.edu
11 Email: tytso@mit.edu
18 Email: tytso@mit.edu
25 Email: tytso@mit.edu
32 Email: tytso@mit.edu

12345678910>>...53