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
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

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