feat: 支持修改邮件标题,告警转发默认关闭

This commit is contained in:
TsMask committed 2025-06-27 11:18:48 +08:00
1 parent 2787c544bb
commit 062a47f7af
7 files changed
+35 -20

No files matched your search

+1
View File
@@ -113,6 +113,7 @@ type AlarmConfig struct {
EmailForward struct {
Enable bool `yaml:"enable" json:"enable"`
EmailList string `yaml:"emailList" json:"emailList"`
Title string `yaml:"title" json:"title"`
SMTP string `yaml:"smtp" json:"smtp"`
Port uint16 `yaml:"port" json:"port"`
User string `yaml:"user" json:"user"`