Mike 3 năm trước cách đây
mục cha
commit
f5e4dc789d
1 tập tin đã thay đổi với 8 bổ sung5 xóa
  1. 8 5
      no_set_date_execute_detail_notice.py

+ 8 - 5
no_set_date_execute_detail_notice.py

@@ -140,7 +140,7 @@ if q2_result_count > 0: # 有執行項目(無預定完成日期)
         """
     
     # Email清單
-    crm_list = ['mike@choozmo.com', 'shopbook2016@gmail.com', 'oluckyo.mike@gmail.com']
+    crm_list = ['mike@choozmo.com', 'stacy@choozmo.com', 'oluckyo.mike@gmail.com']
     # crm_list = ['miko@hhh.com.tw', 'mollie@hhh.com.tw', 'lynn@hhh.com.tw', 'zoe_lo@hhh.com.tw']
 
     # 寄送逾期執行表單Email通知
@@ -256,9 +256,12 @@ for execute_man in execute_man_list:
     </html>
     """
 
-    # 寄送逾期執行表單Email通知
-    email = 'mike@choozmo.com'
-    print ("發送Email: " + email)
-    hhh_send_mail(email, html2)
+    # Email清單
+    email_list = ['mike@choozmo.com', 'stacy@choozmo.com']
+
+    # 寄送無預定完成日期Email通知
+    for email in email_list:
+        print ("發送Email: " + email)
+        hhh_send_mail(email, html2)
 
 print ('發送執行項目通知(無預定完成日期) (執行單位) end...')