zhl пре 3 година
родитељ
комит
6ae70f34f6
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      Apietl/task/send_material_report_weekly.py

+ 3 - 3
Apietl/task/send_material_report_weekly.py

@@ -38,9 +38,9 @@ group by a.account_id,a.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 = 'notice@c-top.com.cn'  # 发件人邮箱账号
-        my_pass = 'Hcst@2021'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
-        recipients = ['zhaohailiang@c-top.com.cn']  # 收件人邮箱账号
+        my_sender = 'zhaohailiang@c-top.com.cn'  # 发件人邮箱账号
+        my_pass = 'Ab*75137'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
+        recipients = ['renyupeng@c-top.com.cn',]  # 收件人邮箱账号
         # content = "Please check the attachment. "
         msg = MIMEMultipart()
         # [发件人的邮箱昵称、发件人邮箱账号], 昵称随便