From d1034d35a3858cffbf5281f0ac8c05b81b9fe0e6 Mon Sep 17 00:00:00 2001 From: Boris Date: Sat, 27 Mar 2021 10:16:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=82=AE=E7=AE=B1=E6=8A=A5?= =?UTF-8?q?=E8=AD=A6=E5=AF=BC=E5=85=A5=E5=8C=85=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\212\245\350\255\246\345\217\212\347\233\221\346\216\247.md" | 2 ++ feapder/VERSION | 2 +- feapder/utils/email_sender.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git "a/docs/source_code/\346\212\245\350\255\246\345\217\212\347\233\221\346\216\247.md" "b/docs/source_code/\346\212\245\350\255\246\345\217\212\347\233\221\346\216\247.md" index d68b1628..91c2cfe0 100644 --- "a/docs/source_code/\346\212\245\350\255\246\345\217\212\347\233\221\346\216\247.md" +++ "b/docs/source_code/\346\212\245\350\255\246\345\217\212\347\233\221\346\216\247.md" @@ -45,6 +45,8 @@ EMAIL_RECEIVER = "" # 收件人 支持列表,可指定多个 ![-w1112](http://markdown-media.oss-cn-beijing.aliyuncs.com/2021/03/27/16167719655644.jpg) +4. 将本邮箱账号添加到白名单中 + ## 报警间隔及报警级别 框架会对相同的报警进行过滤,防止刷屏,默认的报警时间间隔为1小时,可通过以下配置修改: diff --git a/feapder/VERSION b/feapder/VERSION index e05cb332..d4c4950a 100644 --- a/feapder/VERSION +++ b/feapder/VERSION @@ -1 +1 @@ -1.3.8 +1.3.9 diff --git a/feapder/utils/email_sender.py b/feapder/utils/email_sender.py index 2c0b2713..73593f44 100644 --- a/feapder/utils/email_sender.py +++ b/feapder/utils/email_sender.py @@ -15,7 +15,7 @@ from email.mime.text import MIMEText from email.utils import formataddr -from utils.log import log +from feapder.utils.log import log class EmailSender(object):