aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mailer
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-03 12:51:53 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-03 12:51:53 -0400
commit63baf76ab2f4a510b4fb981e81feb5ae533b1639 (patch)
treef3f3c26c3a02e4d30399b6b039bc96e1dcd48a5a /modules/mailer
parent9c3aa6936acc16a4b127874dea5a5519d20e44e1 (diff)
downloadgitea-63baf76ab2f4a510b4fb981e81feb5ae533b1639.tar.gz
gitea-63baf76ab2f4a510b4fb981e81feb5ae533b1639.zip
Fix #214
Diffstat (limited to 'modules/mailer')
-rw-r--r--modules/mailer/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go
index 6e34439e15..4ebabae818 100644
--- a/modules/mailer/mail.go
+++ b/modules/mailer/mail.go
@@ -26,7 +26,7 @@ func NewMailMessageFrom(To []string, from, subject, body string) Message {
// Create New mail message use MailFrom and MailUser
func NewMailMessage(To []string, subject, body string) Message {
- return NewMailMessageFrom(To, setting.MailService.User, subject, body)
+ return NewMailMessageFrom(To, setting.MailService.From, subject, body)
}
func GetMailTmplData(user *models.User) map[interface{}]interface{} {