fix: alarm email forward

This commit is contained in:
2023-10-27 16:35:19 +08:00
parent d60e3aca2e
commit f0f0b54268
4 changed files with 31 additions and 9 deletions

View File

@@ -82,10 +82,11 @@ type YamlConfig struct {
Alarm struct {
ForwardAlarm bool `yaml:"forwardAlarm"`
Email struct {
Smtp string `yaml:"smtp"`
Port uint16 `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
Smtp string `yaml:"smtp"`
Port uint16 `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
TlsSkipVerify bool `yaml:"tlsSkipVerify"`
} `json:"email"`
SMS struct {
ApiURL string `yaml:"apiURL"`