|
@@ -79,7 +79,7 @@ group by t1.signature;""".format(stat_date=self.stat_date)
|
|
pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
|
|
pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
|
|
my_sender = 'renyupeng@c-top.com.cn' # 发件人邮箱账号
|
|
my_sender = 'renyupeng@c-top.com.cn' # 发件人邮箱账号
|
|
my_pass = 'fcyJKkHUyPo6Zztw' # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
|
|
my_pass = 'fcyJKkHUyPo6Zztw' # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
|
|
- recipients = ['wanglei@c-top.com.cn', 'niuxiaoyu@c-top.com.cn', 'yangyan@c-top.com.cn','shiyuke@s-hcst.com',
|
|
|
|
|
|
+ recipients = ['wanglei@c-top.com.cn', 'niuxiaoyu@c-top.com.cn', 'lixiangmeijie@c-top.com.cn','shiyuke@s-hcst.com',
|
|
'zhangnannan@c-top.com.cn'] # 收件人邮箱账号
|
|
'zhangnannan@c-top.com.cn'] # 收件人邮箱账号
|
|
# content = "Please check the attachment. "
|
|
# content = "Please check the attachment. "
|
|
msg = MIMEMultipart()
|
|
msg = MIMEMultipart()
|