import smtplib
smtpObj = smtplib.SMTP('smtp.qq.com',587)
smtpObj.ehlo()
smtpObj.starttls()
smtpObj.login('yunjinqi@qq.com', '惺惺惜惺惺x')
smtpObj.sendmail('yunjinqi@qq.com', '1733505732@qq.com',
"Subject: Solong.\\nDear Alice, so long and thanks for all the fish. Sincerely, Bob")
smtpObj.quit()
阅读(1219) | 评论(0) | 转发(0) |