forked from forgejo/forgejo
Change from header in email, fixes #765
This commit is contained in:
parent
b231b8c927
commit
2321b4b272
2 changed files with 2 additions and 3 deletions
|
@ -35,8 +35,7 @@ func (m Message) Content() string {
|
|||
}
|
||||
|
||||
// create mail content
|
||||
content := "From: \"" + m.From + "\" <" + m.User +
|
||||
">\r\nSubject: " + m.Subject + "\r\nContent-Type: " + contentType + "\r\n\r\n" + m.Body
|
||||
content := "From: " + m.From +"\r\nSubject: " + m.Subject + "\r\nContent-Type: " + contentType + "\r\n\r\n" + m.Body
|
||||
return content
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue