0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:11:24 +01:00

Fix malformed address

This commit is contained in:
Michel Roux 2014-10-08 09:37:54 +02:00
parent fc18741cc7
commit 6705559ce0

View file

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