邮件系统配置放到yaml里面。
This commit is contained in:
@@ -141,3 +141,12 @@ redis_config:
|
||||
db: 0
|
||||
decode_responses: true
|
||||
|
||||
|
||||
# 邮件发送配置
|
||||
email_config:
|
||||
smtp_server: "smtp.163.com"
|
||||
smtp_port: 465
|
||||
sender_email: "bovine_liu@163.com"
|
||||
sender_password: "LTS9BhmX9XhS36QS"
|
||||
alert_recipient: "bovine_liu@163.com" # 警报邮件接收者
|
||||
|
||||
|
||||
Reference in New Issue
Block a user