1
0

Hotfix: fix duplicate header in html mails with templates

This commit is contained in:
kolaente
2018-11-02 11:23:41 +01:00
parent 4f8a0f8739
commit 1f41db9239

View File

@ -94,7 +94,6 @@ func SendMailWithTemplate(to, subject, tpl string, data map[string]interface{})
HTMLMessage: htmlContent.String(),
ContentType: ContentTypeMultipart,
Boundary: boundary,
Headers: []*header{{Field: "MIME-Version", Content: "1.0"}},
}
SendMail(opts)