mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 20:47:57 +01:00
commit
54c9844d66
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user