# coding:utf-8 import unittest #单元测试模块 from BeautifulReport import BeautifulReport from common.path import casePath ''' 构建测试套件,并执行测试 ''' # 构建测试集,包含src Read More
posted @ 2020-12-02 17:50
sriver_dl
Views(447)
Comments(0)
Diggs(0)
email_To = '123@qq.com;456@qq.com;789@163.com' # 收件人msg['To'] =email_To #收件人列表server.sendmail(msg['From'],msg['To'].split(';'),msg.as_string()) Read More
posted @ 2020-12-02 16:21
sriver_dl
Views(362)
Comments(0)
Diggs(0)
python中使用smtp发送邮件是需要开通的,而不是胡乱填一个那样是无法使用smtp发送邮件的,比如我们想用自己的QQ邮箱作为smtp账户进行邮件发送,那么我就需要在QQ邮箱中进行设置,设置好会有一个授权权码这个会作为smtp的登录密码,用户名就是QQ邮箱号,具体设置参考下面链接 参考链接:htt Read More
posted @ 2020-12-02 13:48
sriver_dl
Views(516)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号