Message336393
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) |
|
Date |
User |
Action |
Args |
2019-02-23 17:44:01 | tyrone-zhao | set | recipients:
+ tyrone-zhao, barry, r.david.murray |
2019-02-23 17:44:01 | tyrone-zhao | set | messageid: <1550943841.97.0.129283187576.issue36094@roundup.psfhosted.org> |
2019-02-23 17:44:01 | tyrone-zhao | link | issue36094 messages |
2019-02-23 17:44:01 | tyrone-zhao | create | |
|