This commit is contained in:
eson 2023-09-06 00:08:51 +08:00
parent 7bf4c238c2
commit 8e84eb4d00

View File

@ -222,7 +222,7 @@ func RenderEmailTemplate(templateName, companyName, confirmationLink, senderName
}
var result bytes.Buffer
result.Write([]byte("MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n"))
// result.Write([]byte("MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n"))
err := tpls.ExecuteTemplate(&result, templateName, data)
if err != nil {
log.Fatal(err)