Searched refs:email (Results 1 – 25 of 717) sorted by relevance
12345678910>>...29
/external/python/cpython3/Doc/library/ |
D | email.rst | 1 :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 …]
|
D | email.mime.rst | 1 :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 …]
|
D | email.parser.rst | 1 :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 …]
|
D | email.examples.rst | 3 :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 …]
|
D | email.policy.rst | 1 :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 …]
|
D | email.errors.rst | 1 :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 …]
|
D | email.generator.rst | 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 [all …]
|
D | email.header.rst | 1 :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 …]
|
D | email.encoders.rst | 1 :mod:`email.encoders`: Encoders 4 .. module:: email.encoders 5 :synopsis: Encoders for email message payloads. 7 **Source code:** :source:`Lib/email/encoders.py` 11 This module is part of the legacy (``Compat32``) email API. In the 13 the :meth:`~email.message.EmailMessage.set_content` method. 17 When creating :class:`~email.message.Message` objects from scratch, you often 22 The :mod:`email` package provides some convenient encodings in its 24 :class:`~email.mime.audio.MIMEAudio` and :class:`~email.mime.image.MIMEImage`
|
D | email.iterators.rst | 1 :mod:`email.iterators`: Iterators 4 .. module:: email.iterators 7 **Source code:** :source:`Lib/email/iterators.py` 12 :meth:`Message.walk <email.message.Message.walk>` method. The 13 :mod:`email.iterators` module provides some useful higher level iterations over 27 <email.message.Message.get_payload>`. 53 import email 54 from email.iterators import _structure 59 >>> msg = email.message_from_file(somefile)
|
/external/python/cpython2/Doc/library/ |
D | email.rst | 1 :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 …]
|
D | email.mime.rst | 1 :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 …]
|
D | email.parser.rst | 1 :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 …]
|
D | email-examples.rst | 3 :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
|
D | email.errors.rst | 1 :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 …]
|
D | email.header.rst | 1 :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/python/cpython3/Lib/test/test_email/ |
D | test_policy.py | 5 import email.policy 6 import email.parser 7 import email.generator 8 import email.message 9 from email import headerregistry 35 'header_factory': email.policy.EmailPolicy.header_factory, 37 'content_manager': email.policy.EmailPolicy.content_manager, 39 'message_factory': email.message.EmailMessage, 45 new_policy = email.policy.EmailPolicy() 47 email.policy.compat32: make_defaults(compat32_defaults, {}), [all …]
|
D | test_email.py | 20 import email 21 import email.policy 23 from email.charset import Charset 24 from email.header import Header, decode_header, make_header 25 from email.parser import Parser, HeaderParser 26 from email.generator import Generator, DecodedGenerator, BytesGenerator 27 from email.message import Message 28 from email.mime.application import MIMEApplication 29 from email.mime.audio import MIMEAudio 30 from email.mime.text import MIMEText [all …]
|
D | test_parser.py | 2 import email 4 from email.message import Message, EmailMessage 5 from email.policy import default 19 msg = email.message_from_string("Subject: bogus\n\nmsg\n", 27 msg = email.message_from_file(source_file, 93 return email.message_from_file(f, *args, **kw) 96 parsers = (email.message_from_string, message_from_file) 99 return email.message_from_bytes(s.encode(), *args, **kw) 103 return email.message_from_binary_file(f, *args, **kw)
|
D | test_pickleable.py | 5 import email 6 import email.message 7 from email import policy 8 from email.headerregistry import HeaderRegistry 48 msg_params['parsed'] = (email.message_from_string(textwrap.dedent("""\ 57 msg_params['created'] = (email.message.Message(policy=policy.default),)
|
/external/python/cpython2/Lib/email/ |
D | charset.py | 13 import email.base64mime 14 import email.quoprimime 16 from email import errors 17 from email.encoders import encode_7or8bit 337 return email.base64mime.base64_len(s) + len(cset) + MISC_LEN 339 return email.quoprimime.header_quopri_len(s) + len(cset) + MISC_LEN 341 lenb64 = email.base64mime.base64_len(s) 342 lenqp = email.quoprimime.header_quopri_len(s) 365 return email.base64mime.header_encode(s, cset) 367 return email.quoprimime.header_encode(s, cset, maxlinelen=None) [all …]
|
/external/python/cpython3/Lib/email/ |
D | charset.py | 14 import email.base64mime 15 import email.quoprimime 17 from email import errors 18 from email.encoders import encode_7or8bit 364 return email.base64mime 366 return email.quoprimime 368 len64 = email.base64mime.header_length(header_bytes) 369 lenqp = email.quoprimime.header_length(header_bytes) 371 return email.base64mime 373 return email.quoprimime [all …]
|
/external/mesa3d/scripts/ |
D | get_reviewer.pl | 26 my $email = 1; 217 'email!' => \$email, 276 $email = 0; 285 my $selections = $email + $scm + $status + $subsystem + $web; 291 if ($email && 701 foreach my $email (@email_to, @list_to) { 702 $email->[0] = deduplicate_email($email->[0]); 706 if ($email && 711 if ($email && $email_git_blame) { 716 if ($email) { [all …]
|
/external/python/cpython2/Doc/includes/ |
D | email-dir.py | 13 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
|
/external/python/cpython2/Lib/email/test/ |
D | test_email.py | 20 import email 22 from email.Charset import Charset 23 from email.Header import Header, decode_header, make_header 24 from email.Parser import Parser, HeaderParser 25 from email.Generator import Generator, DecodedGenerator 26 from email.Message import Message 27 from email.MIMEAudio import MIMEAudio 28 from email.MIMEText import MIMEText 29 from email.MIMEImage import MIMEImage 30 from email.MIMEBase import MIMEBase [all …]
|
12345678910>>...29