From aa14ebf17405e5d277af39f230112f861240f731 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Tue, 21 May 2024 15:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_email/error_email.py | 2 +- config/email.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_email/error_email.py b/auto_email/error_email.py index 3903f1e..9a6a5b1 100644 --- a/auto_email/error_email.py +++ b/auto_email/error_email.py @@ -11,7 +11,7 @@ def send_an_error_email(program_name, error_name, error_detail): @program_name: 运行的程序名 @error_name: 错误名 @error_detail: 错误的详细信息 - @description: 程序出错是发送邮件提醒 + @description: 程序出错时发送邮件提醒 """ # SMTP 服务器配置 diff --git a/config/email.py b/config/email.py index 8f9e1ea..ec7e39c 100644 --- a/config/email.py +++ b/config/email.py @@ -2,7 +2,7 @@ ERROR_EMAIL_CONFIG = { # SMTP服务器地址 'smtp_server': 'smtp.163.com', - # 发件人邮箱地址 + # 发件人邮箱地址,请确保开启了SMTP邮件服务! 'sender': 'EchoLiu618@163.com', # 授权码--用于登录第三方邮件客户端的专用密码,不是邮箱密码 'authorization_code': 'OKPQLIIVLVGRZYVH',