diff options
Diffstat (limited to 'modules/mailer')
-rw-r--r-- | modules/mailer/mailer.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go index 211ad59cdd..22f403ee51 100644 --- a/modules/mailer/mailer.go +++ b/modules/mailer/mailer.go @@ -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 } |