From: Berker Peksag Date: Mon, 2 Mar 2015 05:40:36 +0000 (+0200) Subject: Issue #23527: Update Gmail port number for STARTTLS to 587. X-Git-Tag: v3.5.0a2~50^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed0392ae06a52f768123aad0e478b5bcfac143e2;p=thirdparty%2FPython%2Fcpython.git Issue #23527: Update Gmail port number for STARTTLS to 587. Patch by Alex Shkop. --- diff --git a/Lib/test/test_smtpnet.py b/Lib/test/test_smtpnet.py index 03bf93b8e7ca..15654f28dfbe 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')