Commit 63685d6dd3359975c5760f70b7603c8bdaf8cbef
1 parent
e6e9f5c9
维护代码
Showing
1 changed file
with
0 additions
and
1 deletions
commons/SendEmail.py
@@ -29,7 +29,6 @@ def send_email(send_file,send_to=["lixi@diligrp.com"],cc_to=["lixi@diligrp.com"] | @@ -29,7 +29,6 @@ def send_email(send_file,send_to=["lixi@diligrp.com"],cc_to=["lixi@diligrp.com"] | ||
29 | 29 | ||
30 | log_path=os.path.dirname(os.path.dirname(__file__)) | 30 | log_path=os.path.dirname(os.path.dirname(__file__)) |
31 | log_path=log_path+"/report/test.log" | 31 | log_path=log_path+"/report/test.log" |
32 | - print(cc_to) | ||
33 | send_msg=(",".join(str(i) for i in send_to)) | 32 | send_msg=(",".join(str(i) for i in send_to)) |
34 | cc_msg = (",".join(str(j) for j in cc_to)) | 33 | cc_msg = (",".join(str(j) for j in cc_to)) |
35 | msg = MIMEMultipart() # 混合MIME格式 | 34 | msg = MIMEMultipart() # 混合MIME格式 |