feat: add the ability to set a MAILFROM value for local cron emails

Closes #7419
This commit is contained in:
Jose Diaz-Gonzalez
2024-12-17 00:27:08 -05:00
parent 819f9a84c9
commit b93a47c35b
7 changed files with 50 additions and 5 deletions

View File

@@ -12,12 +12,14 @@ import (
var (
// DefaultProperties is a map of all valid cron properties with corresponding default property values
DefaultProperties = map[string]string{
"mailto": "",
"mailfrom": "",
"mailto": "",
}
// GlobalProperties is a map of all valid global cron properties
GlobalProperties = map[string]bool{
"mailto": true,
"mailfrom": true,
"mailto": true,
}
)