Browse Source

Fix malformed address

pull/539/head
Michel Roux 10 years ago
parent
commit
6705559ce0
  1. 2
      modules/mailer/mailer.go

2
modules/mailer/mailer.go

@ -33,7 +33,7 @@ func (m Message) Content() string {
}
// 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
return content
}

Loading…
Cancel
Save