优化注释
This commit is contained in:
@@ -11,7 +11,7 @@ def send_an_error_email(program_name, error_name, error_detail):
|
||||
@program_name: 运行的程序名
|
||||
@error_name: 错误名
|
||||
@error_detail: 错误的详细信息
|
||||
@description: 程序出错是发送邮件提醒
|
||||
@description: 程序出错时发送邮件提醒
|
||||
"""
|
||||
|
||||
# SMTP 服务器配置
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
ERROR_EMAIL_CONFIG = {
|
||||
# SMTP服务器地址
|
||||
'smtp_server': 'smtp.163.com',
|
||||
# 发件人邮箱地址
|
||||
# 发件人邮箱地址,请确保开启了SMTP邮件服务!
|
||||
'sender': 'EchoLiu618@163.com',
|
||||
# 授权码--用于登录第三方邮件客户端的专用密码,不是邮箱密码
|
||||
'authorization_code': 'OKPQLIIVLVGRZYVH',
|
||||
|
||||
Reference in New Issue
Block a user