Home
last modified time | relevance | path

Searched refs:email (Results 1 - 25 of 196) sorted by relevance

12345678

/third_party/python/Lib/test/test_email/
H A Dtest_policy.py5 import email.errors namespace
6 import email.policy namespace
7 import email.parser namespace
8 import email.generator namespace
9 import email.message namespace
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
[all...]
H A Dtest_email.py2 # Contact: email-sig@python.org
3 # email package unit tests
18 import email namespace
19 import email.policy namespace
21 from email.charset import Charset
22 from email.generator import Generator, DecodedGenerator, BytesGenerator
23 from email.header import Header, decode_header, make_header
24 from email.headerregistry import HeaderRegistry
25 from email.message import Message
26 from email
[all...]
H A Dtest_parser.py2 import email namespace
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,
40 # more numerous than allowed by the email RFCs; make sure we are only
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
[all...]
H A Dtest_pickleable.py5 import email namespace
6 import email.message namespace
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),)
H A D__init__.py4 import email namespace
5 from email.message import Message
6 from email._policybase import compat32
42 return email.message_from_file(fp, policy=self.policy)
49 return email.message_from_string(string, message, policy=policy)
56 return email.message_from_bytes(bytestring, message, policy=policy)
H A Dtorture_test.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
16 import email namespace
17 from email import __file__ as testfile
18 from email.iterators import _structure
38 msg = email.message_from_file(fp)
/third_party/libwebsockets/minimal-examples/api-tests/api-test-smtp_client/
H A 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 in smtp_test_instance_init()
[all...]
/third_party/python/Lib/email/
H A Dcharset.py3 # Contact: email-sig@python.org
14 import email.base64mime namespace
15 import email.quoprimime namespace
17 from email import errors
18 from email.encoders import encode_7or8bit
69 # them to the real ones used in email.
173 """Map character sets to their email properties.
175 This class provides information about the requirements imposed on email
179 information on how to use that character set in an email in an
183 when used in email header
[all...]
H A D__init__.py3 # Contact: email-sig@python.org
5 """A package for parsing, handling, and generating email messages."""
31 # of importing email since those cascadingly import most of the rest of the
32 # email package.
38 from email.parser import Parser
46 from email.parser import BytesParser
54 from email.parser import Parser
62 from email.parser import BytesParser
H A Dpolicy.py7 from email._policybase import Policy, Compat32, compat32, _extend_docstrings
8 from email.utils import _has_surrogates
9 from email.headerregistry import HeaderRegistry as HeaderRegistry
10 from email.contentmanager import raw_data_manager
11 from email.message import EmailMessage
83 :data:`~email.contentmanager.raw_data_manager`.
H A Dcontentmanager.py2 import email.charset namespace
3 import email.message namespace
4 import email.errors namespace
5 from email import quoprimime
109 except email.errors.HeaderDefect as exc:
190 email.charset.ALIASES.get(charset, charset),
227 raw_data_manager.add_set_handler(email.message.Message, set_message_content)
/third_party/node/deps/npm/node_modules/npm-user-validate/lib/
H A Dindex.js1 exports.email = email
13 email: {
15 valid: 'Email must be an email address',
48 function email (em) { function
50 return new Error(requirements.email.length)
53 return new Error(requirements.email.valid)
/third_party/nghttp2/
H A Dauthor.py9 # This script removes duplicates based on email address, breaking a
22 author, email = line.strip().split(':', 1)
23 if email in edict:
24 an = edict[email]
28 edict[email] = author
33 edict[email] = author
/third_party/node/deps/npm/lib/utils/
H A Dread-user-info.js8 exports.email = readEmail
17 const emailPrompt = 'email (this IS public): '
56 function readEmail (msg = emailPrompt, email, isRetry) {
57 if (isRetry && email) {
58 const error = userValidate.email(email)
62 return email.trim()
66 return readWithProgress({ prompt: msg, default: email || '' })
/third_party/python/Tools/scripts/
H A Dmailerdaemon.py5 import email.message namespace
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>
[all...]
/third_party/node/deps/npm/test/lib/utils/
H A Dread-user-info.js19 email: (email) => {
20 if (email.startsWith('invalid')) {
21 return new Error('invalid email')
94 t.test('email', async (t) => {
100 const result = await readUserInfo.email()
101 t.equal(result, 'foo@bar.baz', 'received the email')
104 t.test('email - invalid warns and retries', async (t) => {
111 const pResult = readUserInfo.email(null, null)
114 t.equal(result, 'foo@bar.baz', 'received the email')
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dmetadata.py1 import email.feedparser namespace
2 import email.header namespace
3 import email.message namespace
4 import email.parser namespace
5 import email.policy namespace
233 def _get_payload(msg: email.message.Message, source: Union[bytes, str]) -> str:
264 "author-email": "author_email",
274 "maintainer-email": "maintainer_email",
292 _RAW_TO_EMAIL_MAPPING = {raw: email for email, ra
[all...]
/third_party/protobuf/examples/
H A Dadd_person.py19 email = raw_input("Enter email address (blank for none): ")
20 if email != "":
21 person.email = email
H A Dadd_person.cc26 cout << "Enter email address (blank for none): "; in PromptForAddress()
27 string email; in PromptForAddress() local
28 getline(cin, email); in PromptForAddress()
29 if (!email.empty()) { in PromptForAddress()
30 person->set_email(email); in PromptForAddress()
/third_party/python/Lib/email/mime/
H A Dbase.py3 # Contact: email-sig@python.org
9 import email.policy namespace
11 from email import message
27 policy = email.policy.compat32
/third_party/googletest/googletest/scripts/
H A Dupload.py81 """Prompts the user for their email address and returns it.
83 The last used email address is saved to a file and offered up as a suggestion
85 used email address is used. If the user enters a new address, it is saved
99 email = raw_input(prompt + ": ").strip()
100 if email:
103 last_email_file.write(email)
108 email = last_email
109 return email
149 (email, password) tuple when called. Will be called if authentication
187 def _GetAuthToken(self, email, passwor
[all...]
/third_party/python/Doc/includes/
H A Demail-alternative.py5 from email.message import EmailMessage
6 from email.headerregistry import Address
7 from email.utils import make_msgid
H A Demail-unpack.py6 import email namespace
9 from email.policy import default
26 msg = email.message_from_binary_file(fp, policy=default)
39 # email message can't be used to overwrite important files
/third_party/typescript/tests/baselines/reference/
H A DstrictOptionalProperties1.js185 email?: string | number | undefined
189 email?: string | number
194 u1.email = e // error, but only because boolean isn't in email's type
195 u2.email = e // error, and suggest adding undefined
198 email: undefined
366 u1.email = e; // error, but only because boolean isn't in email's type
367 u2.email = e; // error, and suggest adding undefined
370 email
[all...]
/third_party/curl/tests/
H A Dtestcurl.pl47 # --email=[email] Set email address to report as
75 use vars qw($name $email $desc $confopts $runtestopts $setupfile $mktarball
109 elsif ($ARGV[0] =~ /--email=/) {
110 $email = (split(/=/, shift @ARGV, 2))[1];
258 if($name && $email && $desc) {
284 if (!$email) {
285 print "please enter your contact email address\n";
286 $email
[all...]

Completed in 10 milliseconds

12345678