| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Patch by Donald Stufft.
|
|
|
|
|
|
|
|
|
|
|
| |
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point). (There may be additional places where this lack of reset was an
issue as well.)
Patch by Milan Oberkirch.
|
|
|
|
|
|
| |
Fixes the ResourceWarning in the test run.
Patch by Claudiu.Popa.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Normally an SMTP server will return an error, and smtplib will then issue an
RSET to return the connection to the known starting state. Some servers,
however, disconnect after issuing certain errors. When we issue the RSET,
this would result in raising an SMTPServerDisconnected error, *instead* of
returning the error code the user of the library was expecting. This fix
makes the internal RSET calls ignore the disconnection so that the error code
is returned. The user of the library will then get the SMTPServerDisconnected
error the next time they try to talk to the server.
Patch by Kushal Das.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
|
| |
| |
| |
| |
| |
| |
| | |
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
|
| |
| |
| |
| | |
indication for TLS/SSL connections.
|
| |
| |
| |
| |
| | |
create SSLContext objects in Python's stdlib module. It provides a single
configuration point and makes use of SSLContext.load_default_certs().
|
| |
| |
| |
| | |
module supports digestmod names, e.g. hmac.HMAC('sha1').
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
Original patch by Berker Peksag.
|
| |
| |
| |
| | |
Original patch by Berker Peksag.
|
| |
| |
| |
| | |
ModuleNotFoundError.
|
| | |
|
| |
| |
| |
| | |
Initial patch by Ned Jackson Lovely.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a partial fix to the issue of servers disconnecting unexpectedly; in
this case the 421 says they are disconnecting, so we close the socket and
return the 421 in the appropriate error context.
Original patch by Mark Sapiro, updated by Kushal Das, with additional
tests by me.
|
|\ \ \
| |/ /
| | |
| | | |
Initial patch by Serhiy Storchaka.
|
| |\ \
|/ / /
| | _
| | |
Patch by Serhiy Storchaka.
|
| |
| |
| |
| | |
Patch by Serhiy Storchaka.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
in order to display the prompt correctly. Patch by Petri Lehtinen.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst
|
| |
| |
| |
| | |
adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
|
| |
| |
| |
| |
| |
| | |
As far as I can tell, the try/except was ancient code, from before the email
package rewrite where the philosophy of never throwing parsing errors was
adopted.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The RFC doesn't say that they are allowed; apparently many mailers accept
them, but not postfix. Contributions to this patch were made by Felipe Cruz
and Catalin Iacob.
The changeset also adds additional indirect tests for quoteaddr (null address
and IDNA-encoded address).
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
Original patch by Nicolas Estibals. My tweaks to the patch were mostly
style/cosmetic, and adding more tests.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
I unfortunately introduced the regression when I refactored the code,
and there were no tests of quoting so it wasn't caught. Now there
is one.
|
| |
| |
| |
| |
| |
| | |
smtplib module.
Patch by Catalin Iacob.
|
| |
| |
| |
| |
| | |
passing a `context` argument pointing to an ssl.SSLContext instance.
Patch by Kasun Herath.
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Kasun Herath.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75064 | ezio.melotti | 2009-09-26 00:35:24 +0300 (Sat, 26 Sep 2009) | 1 line
fix print statement
........
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88501 | giampaolo.rodola | 2011-02-22 16:56:20 +0100 (mar, 22 feb 2011) | 1 line
smtlib.py PEP8 normalization via pep8.py script.
........
|
| | |
| | |
| | |
| | | |
in a `with` statement. Contributed by Giampaolo Rodola.
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.
|