mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 18:01:21 +03:00
Fix malformed address
This commit is contained in:
parent
fc18741cc7
commit
6705559ce0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue