diff options
author | nickago <ngonella@calpoly.edu> | 2015-07-17 13:52:37 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-07-24 07:36:38 -0700 |
commit | 22acb7b950c4fd6e1d9e8d31eff2dff44ffa97c5 (patch) | |
tree | 16b7b33617e4ea517d4379c5f11ea494cdbae771 /utils | |
parent | b813234f4cc38e72bb94556d3a4acdcde5071468 (diff) | |
download | chat-22acb7b950c4fd6e1d9e8d31eff2dff44ffa97c5.tar.gz chat-22acb7b950c4fd6e1d9e8d31eff2dff44ffa97c5.tar.bz2 chat-22acb7b950c4fd6e1d9e8d31eff2dff44ffa97c5.zip |
Set the 'From' field to include the FeedbackName from the config
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mail.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mail.go b/utils/mail.go index 0fe7042b7..d152b2669 100644 --- a/utils/mail.go +++ b/utils/mail.go @@ -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) |