|
@@ -205,7 +205,7 @@ func composeIssueMessage(issue Issue, repo Repository, doer User, tplName string
|
|
if err != nil {
|
|
if err != nil {
|
|
log.Error("HTMLString (%s): %v", tplName, err)
|
|
log.Error("HTMLString (%s): %v", tplName, err)
|
|
}
|
|
}
|
|
- from := gomail.NewMessage().FormatAddress(conf.Email.FromEmail, doer.DisplayName())
|
|
|
|
|
|
+ from := gomail.NewMessage().FormatAddress(conf.Email.FromEmail.Address, doer.DisplayName())
|
|
msg := NewMessageFrom(tos, from, subject, content)
|
|
msg := NewMessageFrom(tos, from, subject, content)
|
|
msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info)
|
|
msg.Info = fmt.Sprintf("Subject: %s, %s", subject, info)
|
|
return msg
|
|
return msg
|