From 1f41db9239f91ac24feca51f588da5b2f825b471 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 2 Nov 2018 11:23:41 +0100 Subject: [PATCH] Hotfix: fix duplicate header in html mails with templates --- pkg/mail/send_mail.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/mail/send_mail.go b/pkg/mail/send_mail.go index 3ba19a0a34..32e5df9b7c 100644 --- a/pkg/mail/send_mail.go +++ b/pkg/mail/send_mail.go @@ -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)