import smtplib s = smtplib.SMTP() s.connect('smtp.ym.163.com')
使用Python调用 smtplib 库,进行Email服务器的连接。
关注公众号获取免费资源