Set the 'From' field to include the FeedbackName from the config

This commit is contained in:
nickago
2015-07-17 13:52:37 -07:00
parent b813234f4c
commit 22acb7b950

View File

@@ -83,7 +83,7 @@ func SendMail(to, subject, body string) *model.AppError {
return nil
}
fromMail := mail.Address{"", Cfg.EmailSettings.FeedbackEmail}
fromMail := mail.Address{Cfg.EmailSettings.FeedbackName, Cfg.EmailSettings.FeedbackEmail}
toMail := mail.Address{"", to}
headers := make(map[string]string)