generated from VLADIMIR/template
fix email
This commit is contained in:
@@ -133,7 +133,7 @@ func buildMessage(from, fromName, to, subject, replyTo, body, html string) []byt
|
||||
b.Grow(len(from) + len(fromName) + len(to) + len(subject) + len(body) + len(html) + 512)
|
||||
b.WriteString("From: ")
|
||||
if fromName != "" {
|
||||
b.WriteString(mime.QEncoding.Encode("utf-8", fromName))
|
||||
b.WriteString(mime.BEncoding.Encode("utf-8", fromName))
|
||||
b.WriteString(" <")
|
||||
b.WriteString(from)
|
||||
b.WriteString(">\r\n")
|
||||
|
||||
Reference in New Issue
Block a user