From ed0392ae06a52f768123aad0e478b5bcfac143e2 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Mon, 2 Mar 2015 07:40:36 +0200 Subject: Issue #23527: Update Gmail port number for STARTTLS to 587. Patch by Alex Shkop. --- Lib/test/test_smtpnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v0.12