summaryrefslogtreecommitdiffstats
path: root/models/mail.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/mail.go')
-rw-r--r--models/mail.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/mail.go b/models/mail.go
index 6daf84f231..1311ac2ed2 100644
--- a/models/mail.go
+++ b/models/mail.go
@@ -160,7 +160,7 @@ func composeIssueMessage(issue *Issue, doer *User, tplName base.TplName, tos []s
if err != nil {
log.Error(3, "HTMLString (%s): %v", tplName, err)
}
- msg := mailer.NewMessage(tos, subject, content)
+ msg := mailer.NewMessageFrom(tos, doer.Email, subject, content)
msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info)
return msg
}