diff options
Diffstat (limited to 'modules/setting/mailer.go')
-rw-r--r-- | modules/setting/mailer.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/mailer.go b/modules/setting/mailer.go index e627aef017..3101ed5452 100644 --- a/modules/setting/mailer.go +++ b/modules/setting/mailer.go @@ -21,6 +21,7 @@ type Mailer struct { FromEmail string SendAsPlainText bool MailerType string + SubjectPrefix string // SMTP sender Host string @@ -65,6 +66,7 @@ func newMailService() { CertFile: sec.Key("CERT_FILE").String(), KeyFile: sec.Key("KEY_FILE").String(), IsTLSEnabled: sec.Key("IS_TLS_ENABLED").MustBool(), + SubjectPrefix: sec.Key("SUBJECT_PREFIX").MustString(""), SendmailPath: sec.Key("SENDMAIL_PATH").MustString("sendmail"), } |