This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tyrone-zhao
Recipients barry, r.david.murray, tyrone-zhao
Date 2019-02-23.17:44:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550943841.97.0.129283187576.issue36094@roundup.psfhosted.org>
In-reply-to
Content
The following bug occurs when you connect after creating an instance of SMTP_SSL:
```
import smtplib


smtp_server = "smtp.163.com"
con2 = smtplib.SMTP_SSL()
con2.connect(smtp_server, 465)
```
ValueError:
server_hostname cannot be an empty string or start with a leading dot.
  File "E:\code\noUse.py", line 8, in <module>
    con2.connect(smtp_server, 465)
History
Date User Action Args
2019-02-23 17:44:01tyrone-zhaosetrecipients: + tyrone-zhao, barry, r.david.murray
2019-02-23 17:44:01tyrone-zhaosetmessageid: <1550943841.97.0.129283187576.issue36094@roundup.psfhosted.org>
2019-02-23 17:44:01tyrone-zhaolinkissue36094 messages
2019-02-23 17:44:01tyrone-zhaocreate