|
|
@ -160,7 +160,7 @@ func composeIssueMessage(issue *Issue, doer *User, tplName base.TplName, tos []s |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
log.Error(3, "HTMLString (%s): %v", tplName, err) |
|
|
|
log.Error(3, "HTMLString (%s): %v", tplName, err) |
|
|
|
} |
|
|
|
} |
|
|
|
msg := mailer.NewMessageFrom(tos, fmt.Sprintf(`"%s" <%s>`, doer.DisplayName(), setting.MailService.User), subject, content) |
|
|
|
msg := mailer.NewMessageFrom(tos, fmt.Sprintf(`"%s" <%s>`, doer.DisplayName(), setting.MailService.FromEmail), subject, content) |
|
|
|
msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info) |
|
|
|
msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info) |
|
|
|
return msg |
|
|
|
return msg |
|
|
|
} |
|
|
|
} |
|
|
|