优化注释

This commit is contained in:
2024-05-21 15:54:57 +08:00
parent a47a22b9a0
commit aa14ebf174
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ def send_an_error_email(program_name, error_name, error_detail):
@program_name: 运行的程序名 @program_name: 运行的程序名
@error_name: 错误名 @error_name: 错误名
@error_detail: 错误的详细信息 @error_detail: 错误的详细信息
@description: 程序出错发送邮件提醒 @description: 程序出错发送邮件提醒
""" """
# SMTP 服务器配置 # SMTP 服务器配置

View File

@@ -2,7 +2,7 @@
ERROR_EMAIL_CONFIG = { ERROR_EMAIL_CONFIG = {
# SMTP服务器地址 # SMTP服务器地址
'smtp_server': 'smtp.163.com', 'smtp_server': 'smtp.163.com',
# 发件人邮箱地址 # 发件人邮箱地址请确保开启了SMTP邮件服务
'sender': 'EchoLiu618@163.com', 'sender': 'EchoLiu618@163.com',
# 授权码--用于登录第三方邮件客户端的专用密码,不是邮箱密码 # 授权码--用于登录第三方邮件客户端的专用密码,不是邮箱密码
'authorization_code': 'OKPQLIIVLVGRZYVH', 'authorization_code': 'OKPQLIIVLVGRZYVH',