We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5dd0d5 commit d1ec421Copy full SHA for d1ec421
modules/setting/mailer.go
@@ -138,7 +138,7 @@ func newMailService() {
138
sec.Key("SENDMAIL_PATH").MustString("sendmail")
139
sec.Key("SENDMAIL_TIMEOUT").MustDuration(5 * time.Minute)
140
sec.Key("SENDMAIL_CONVERT_CRLF").MustBool(true)
141
- sec.Key("FROM").MustString(MailService.User)
+ sec.Key("FROM").MustString(sec.Key("USER").String())
142
143
// Now map the values on to the MailService
144
MailService = &Mailer{}
0 commit comments