renyupeng 3 năm trước cách đây
mục cha
commit
51c461ae1d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Apietl/task/send_material_report_weekly.py

+ 2 - 2
Apietl/task/send_material_report_weekly.py

@@ -53,8 +53,8 @@ group by t1.signature; """.format(stat_date=self.stat_date)
         path = """/data/excel/material_week_{stat_date}.xls""".format(stat_date=self.stat_date)
         print(path)
         pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
-        my_sender = 'zhaohailiang@c-top.com.cn'  # 发件人邮箱账号
-        my_pass = 'h27UwLdJcD797THk'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
+        my_sender = 'renyupeng@c-top.com.cn'  # 发件人邮箱账号
+        my_pass = 'fcyJKkHUyPo6Zztw'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
         recipients = ['wanglei@c-top.com.cn','niuxiaoyu@c-top.com.cn','dukexuan@c-top.com.cn','yangyan@c-top.com.cn']  # 收件人邮箱账号
         # content = "Please check the attachment. "
         msg = MIMEMultipart()