Commit ed0392ae authored by Berker Peksag's avatar Berker Peksag

Issue #23527: Update Gmail port number for STARTTLS to 587.

Patch by Alex Shkop.
parent 659f631a
...@@ -21,7 +21,7 @@ def check_ssl_verifiy(host, port): ...@@ -21,7 +21,7 @@ def check_ssl_verifiy(host, port):
class SmtpTest(unittest.TestCase): class SmtpTest(unittest.TestCase):
testServer = 'smtp.gmail.com' testServer = 'smtp.gmail.com'
remotePort = 25 remotePort = 587
def test_connect_starttls(self): def test_connect_starttls(self):
support.get_attribute(smtplib, 'SMTP_SSL') support.get_attribute(smtplib, 'SMTP_SSL')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment