邮件系统配置放到yaml里面。

This commit is contained in:
liuwei
2025-05-22 11:01:14 +08:00
parent 9e07e8b5aa
commit 9f1359fbeb
3 changed files with 19 additions and 7 deletions

View File

@@ -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" # 警报邮件接收者