Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm-zhuanzhen-test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘丙寅
gm-zhuanzhen-test
Commits
85fdbf04
Commit
85fdbf04
authored
Mar 04, 2021
by
刘丙寅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试git测试
parent
45b2410e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
allcase.py
allcase.py
+2
-2
No files found.
allcase.py
View file @
85fdbf04
...
...
@@ -149,9 +149,9 @@ if __name__ == "__main__":
smtp_server
=
"smtp.exmail.qq.com"
port
=
465
#发给谁的邮箱
receiver
=
[
"liubingyin@igengmei.com"
,
"chenxiangxiang@igengmei.com"
,
"liangfenglong@igengmei.com"
]
receiver
=
[
"liubingyin@igengmei.com"
,
"chenxiangxiang@igengmei.com"
]
send_mail
(
sender
,
psw
,
receiver
,
smtp_server
,
report_file
,
port
)
# 4最后一步发送报告
dd_url
=
"https://oapi.dingtalk.com/robot/send?access_token=
b2b0365eb8d2084a0c08bfe330e52d5a26498444a62f9cf398eb2421caea5bd7
"
dd_url
=
"https://oapi.dingtalk.com/robot/send?access_token=
8cabe84140972019bc286ce341ee48f6208037a7aaf2d242b8e213ee0c4695d2
"
text
=
"监控报警:接口出现异常,请查看邮件排查问题"
json_text
=
{
"msgtype"
:
"text"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment