summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2015-03-02 05:40:36 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2015-03-02 05:40:36 (GMT)
commited0392ae06a52f768123aad0e478b5bcfac143e2 (patch)
tree0d317c174ef8982671bed9e2f794440c7329eb7d
parent659f631a5ebfc5145dedfc2322932876f81e7769 (diff)
downloadcpython-ed0392ae06a52f768123aad0e478b5bcfac143e2.zip
cpython-ed0392ae06a52f768123aad0e478b5bcfac143e2.tar.gz
cpython-ed0392ae06a52f768123aad0e478b5bcfac143e2.tar.bz2
Issue #23527: Update Gmail port number for STARTTLS to 587.
Patch by Alex Shkop.
-rw-r--r--Lib/test/test_smtpnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_smtpnet.py b/Lib/test/test_smtpnet.py
index 03bf93b..15654f2 100644
--- a/Lib/test/test_smtpnet.py
+++ b/Lib/test/test_smtpnet.py
@@ -21,7 +21,7 @@ def check_ssl_verifiy(host, port):
class SmtpTest(unittest.TestCase):
testServer = 'smtp.gmail.com'
- remotePort = 25
+ remotePort = 587
def test_connect_starttls(self):
support.get_attribute(smtplib, 'SMTP_SSL')