Browse Source

add `FixedNotifyFrom` feature

pull/1592/head
Hongcai Deng 9 years ago
parent
commit
c31bb912b8
  1. 5
      modules/mailer/mail.go

5
modules/mailer/mail.go

@ -31,7 +31,12 @@ const (
// Create New mail message use MailFrom and MailUser
func NewMailMessageFrom(To []string, from, subject, body string) Message {
if setting.MailService.FixedNotifyFrom {
return NewHtmlMessage(To, setting.MailService.From, subject, body)
}
else {
return NewHtmlMessage(To, from, subject, body)
}
}
// Create New mail message use MailFrom and MailUser

Loading…
Cancel
Save