/external/python/cpython3/Lib/test/ |
D | test_smtplib.py | 165 client = smtplib.SMTP 189 # Test server thread using the specified SMTP server class 224 # NOTE: Some SMTP objects in the tests below are created with a non-default 284 smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', 286 smtp.quit() 292 smtp = smtplib.SMTP(self.host, self.port, local_hostname='localhost', 295 self.addCleanup(smtp.close) 296 self.assertEqual(smtp.source_address, (self.host, src_port)) 297 self.assertEqual(smtp.local_hostname, 'localhost') 298 smtp.quit() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_smtplib.py | 65 smtp = smtplib.SMTP(HOST, self.port) 66 smtp.close() 70 smtp = smtplib.SMTP("%s:%s" % (HOST, self.port)) 71 smtp.close() 75 smtp = smtplib.SMTP(HOST, self.port, local_hostname="testhost") 76 self.assertEqual(smtp.local_hostname, "testhost") 77 smtp.close() 83 smtp = smtplib.SMTP(HOST, self.port) 86 self.assertEqual(smtp.sock.gettimeout(), 30) 87 smtp.close() [all …]
|
/external/python/cpython2/Doc/library/ |
D | smtplib.rst | 1 :mod:`smtplib` --- SMTP protocol client 5 :synopsis: SMTP protocol client (requires sockets). 10 pair: SMTP; protocol 17 The :mod:`smtplib` module defines an SMTP client session object that can be used 18 to send mail to any Internet machine with an SMTP or ESMTP listener daemon. For 19 details of SMTP and ESMTP operation, consult :rfc:`821` (Simple Mail Transfer 20 Protocol) and :rfc:`1869` (SMTP Service Extensions). 23 .. class:: SMTP([host[, port[, local_hostname[, timeout]]]]) 25 An :class:`SMTP` instance encapsulates an SMTP connection. It has methods 26 that support a full repertoire of SMTP and ESMTP operations. If the optional [all …]
|
/external/python/cpython3/Doc/library/ |
D | smtplib.rst | 1 :mod:`smtplib` --- SMTP protocol client 5 :synopsis: SMTP protocol client (requires sockets). 12 pair: SMTP; protocol 17 The :mod:`smtplib` module defines an SMTP client session object that can be used 18 to send mail to any internet machine with an SMTP or ESMTP listener daemon. For 19 details of SMTP and ESMTP operation, consult :rfc:`821` (Simple Mail Transfer 20 Protocol) and :rfc:`1869` (SMTP Service Extensions). 23 .. class:: SMTP(host='', port=0, local_hostname=None[, timeout], source_address=None) 25 An :class:`SMTP` instance encapsulates an SMTP connection. It has methods 26 that support a full repertoire of SMTP and ESMTP operations. If the optional [all …]
|
/external/curl/lib/ |
D | smtp.c | 23 * RFC1870 SMTP Service Extension for Message Size 26 * RFC3207 SMTP over TLS 30 * RFC4954 SMTP Authentication 31 * RFC5321 SMTP protocol 33 * RFC6531 SMTP Extension for Internationalized Email 37 * Draft SMTP URL Interface <draft-earhart-url-smtp-00.txt> 73 #include "smtp.h" 119 * SMTP protocol handler. 123 "SMTP", /* scheme */ 176 /* SASL parameters for the smtp protocol */ [all …]
|
/external/python/cpython2/Lib/ |
D | smtplib.py | 3 '''SMTP/ESMTP client class. 5 This should follow RFC 821 (SMTP), RFC 1869 (ESMTP), RFC 2554 (SMTP 6 Authentication) and RFC 2487 (Secure SMTP over TLS). 10 Please remember, when doing ESMTP, that the names of the SMTP service 17 >>> s=smtplib.SMTP("localhost") 55 "quoteaddr", "quotedata", "SMTP"] 70 """Not connected to any SMTP server. 73 or when an attempt is made to use the SMTP instance before 78 """Base class for all exceptions that include an SMTP error code. 80 These exceptions are generated in some instances when the SMTP [all …]
|
/external/python/cpython2/Lib/email/test/data/ |
D | msg_43.txt | 42 Received-From-MTA: smtp; sacspam01.dot.ca.gov ([127.0.0.1]) 48 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 54 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 60 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 66 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 72 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 78 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 84 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 90 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 96 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… [all …]
|
/external/python/cpython3/Lib/test/test_email/data/ |
D | msg_43.txt | 42 Received-From-MTA: smtp; sacspam01.dot.ca.gov ([127.0.0.1]) 48 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 54 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 60 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 66 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 72 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 78 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 84 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 90 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 96 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… [all …]
|
/external/python/google-api-python-client/docs/dyn/ |
D | gmail_v1.users.settings.sendAs.html | 87 …reates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect t… 114 …ustom "from" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect t… 128 …SMTP service. # An optional SMTP service that will be used as an outbound relay for mail sent usin… 129 "host": "A String", # The hostname of the SMTP service. Required. 130 …tring", # The password that will be used for authentication with the SMTP service. This is a … 131 "port": 42, # The port of the SMTP service. Required. 132 …ng", # The protocol that will be used to secure communication with the SMTP service. Required. 133 …tring", # The username that will be used for authentication with the SMTP service. This is a … 154 …SMTP service. # An optional SMTP service that will be used as an outbound relay for mail sent usin… 155 "host": "A String", # The hostname of the SMTP service. Required. [all …]
|
/external/python/cpython3/Lib/ |
D | smtplib.py | 3 '''SMTP/ESMTP client class. 5 This should follow RFC 821 (SMTP), RFC 1869 (ESMTP), RFC 2554 (SMTP 6 Authentication) and RFC 2487 (Secure SMTP over TLS). 10 Please remember, when doing ESMTP, that the names of the SMTP service 17 >>> s=smtplib.SMTP("localhost") 60 "quoteaddr", "quotedata", "SMTP"] 76 """The command or option is not supported by the SMTP server. 83 """Not connected to any SMTP server. 86 or when an attempt is made to use the SMTP instance before 91 """Base class for all exceptions that include an SMTP error code. [all …]
|
/external/curl/docs/examples/ |
D | .gitignore | 89 smtp-authzid 90 smtp-expn 91 smtp-mail 92 smtp-mime 93 smtp-multi 94 smtp-ssl 95 smtp-tls 96 smtp-vrfy
|
D | Makefile.inc | 109 smtp-authzid \ 110 smtp-expn \ 111 smtp-mail \ 112 smtp-mime \ 113 smtp-multi \ 114 smtp-ssl \ 115 smtp-tls \ 116 smtp-vrfy \
|
/external/libwebsockets/minimal-examples/api-tests/api-test-smtp_client/ |
D | main.c | 2 * lws-unit-tests-smtp-client 9 * This performs unit tests for the SMTP client abstract protocol 29 * smtp client abstract protocol. 52 "Subject: Test email for lws smtp-client\n" in smtp_test_instance_init() 54 "Hello this was an api test for lws smtp-client\n" in smtp_test_instance_init() 75 "220 smtp.example.com ESMTP Postfix", 81 "250 smtp.example.com, I am glad to meet you", 104 "Subject: Test email for lws smtp-client\n" 106 "Hello this was an api test for lws smtp-client\n" 129 "220 smtp.example.com ESMTP Postfix", [all …]
|
D | README.md | 1 # lws api test smtp client 3 Performs unit tests on the lws SMTP client abstract protocol 28 [2019/06/28 21:56:41:0711] USER: LWS API selftest: SMTP client unit tests 31 [2019/06/28 21:56:41:1272] NOTICE: lws_atcut_client_conn: smtp: test 'sending': start 33 [2019/06/28 21:56:41:1442] NOTICE: lws_atcut_client_conn: smtp: test 'rejected': start
|
/external/curl/tests/data/ |
D | test1320 | 4 SMTP 16 smtp: sure hit me 25 smtp 33 SMTP send tunneled through HTTP proxy 42 smtp://smtp.%TESTNUMBER:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@… 64 CONNECT smtp.%TESTNUMBER:%SMTPPORT HTTP/1.1 65 Host: smtp.%TESTNUMBER:%SMTPPORT
|
D | test902 | 4 SMTP 5 SMTP HELO 22 smtp 25 RFC821-only SMTP server (EHLO not supported) 34 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.c…
|
D | test938 | 4 SMTP 28 smtp 31 SMTP multiple connection authentication 37 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER001 --mail-rcpt recipient@example.com --mail-from sender@exampl…
|
D | test931 | 4 SMTP 12 smtp 15 SMTP with URL-encoded CR LF in the URL 18 smtp://%HOSTIP:%SMTPPORT/%0d%0a/%TESTNUMBER
|
D | test923 | 4 SMTP 18 smtp 21 SMTP VRFY 24 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient
|
D | test929 | 4 SMTP 19 smtp 22 SMTP NOOP (CUSTOMREQUEST) 25 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER -X NOOP -I
|
D | test930 | 4 SMTP 19 smtp 22 SMTP RSET (CUSTOMREQUEST) 25 smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER -X RSET -I
|
/external/libwebsockets/lib/abstract/protocols/smtp/ |
D | smtp-sequencer.c | 2 * Abstract SMTP support for libwebsockets - SMTP sequencer 30 * Connections to the smtp server are serialized 34 #include "private-lib-abstract-protocols-smtp.h" 54 /* holds the HELO for the smtp protocol to consume */ 108 * create and connect the smtp protocol + transport in lws_smtpc_kick_internal() 111 s->abs = lws_abstract_alloc(s->args.vhost, NULL, "smtp.raw_skt", in lws_smtpc_kick_internal() 120 lwsl_err("%s: failed to create SMTP client\n", __func__); in lws_smtpc_kick_internal() 158 * The callback we get from the smtp protocol... we use this to drive 246 * Create a sequencer in the event loop to manage the SMTP queue in lws_smtp_sequencer_create() 251 smtp_sequencer_cb, "smtp-seq"); in lws_smtp_sequencer_create()
|
/external/libwebsockets/include/libwebsockets/abstract/protocols/ |
D | smtp.h | 25 /** \defgroup smtp SMTP related functions 26 * ##SMTP related functions 29 * These apis let you communicate with a local SMTP server to send email from 30 * lws. It handles all the SMTP sequencing and protocol actions. 37 * provided smtp sequencer... this takes care of creating the protocol 80 * \param s: smtp sequencer to queue on
|
/external/curl/docs/cmdline-opts/ |
D | mail-rcpt-allowfails.d | 5 Protocols: SMTP 7 Category: smtp 8 Example: --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com 12 When sending data to multiple recipients, by default curl will abort SMTP 21 will still abort the SMTP conversation and return the error received from to
|
/external/python/cpython3/Doc/includes/ |
D | email-dir.py | 13 from email.policy import SMTP 20 SMTP server, which then does the normal delivery process. Your local machine 21 must be running an SMTP server. 31 sending the message to the SMTP server.""") 70 fp.write(msg.as_bytes(policy=SMTP)) 72 with smtplib.SMTP('localhost') as s:
|