mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Set the 'From' field to include the FeedbackName from the config
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user