1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 09:51:14 +03:00

Merge pull request #539 from Xefir/dev

Fix malformed address
This commit is contained in:
无闻 2014-10-08 12:30:59 -04:00
commit 54c9844d66

View File

@ -33,7 +33,7 @@ func (m Message) Content() string {
}
// create mail content
content := "From: " + m.From + "<" + m.User +
content := "From: \"" + m.From + "\" <" + m.User +
">\r\nSubject: " + m.Subject + "\r\nContent-Type: " + contentType + "\r\n\r\n" + m.Body
return content
}