From: Piers Lauder Date: Fri, 8 Mar 2002 09:05:12 +0000 (+0000) Subject: fixed missing IMAP4_SSL_PORT X-Git-Tag: v2.3c1~6557 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95f8495de81c43ddad62638368736ce33db4c88a;p=python fixed missing IMAP4_SSL_PORT --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 4a9200bedd..266acb668d 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -29,6 +29,7 @@ __all__ = ["IMAP4", "Internaldate2tuple", CRLF = '\r\n' Debug = 0 IMAP4_PORT = 143 +IMAP4_SSL_PORT = 993 AllowedVersions = ('IMAP4REV1', 'IMAP4') # Most recent first # Commands @@ -987,7 +988,7 @@ class IMAP4_SSL(IMAP4): """IMAP4 client class over SSL connection - Instantiate with: IMAP4_SSL([, host[, port[, keyfile[, certfile]]]]) + Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile]]]]) host - host's name (default: localhost); port - port number (default: standard IMAP4 SSL port).