Hotfix: fix duplicate header in html mails with templates
This commit is contained in:
parent
4f8a0f8739
commit
1f41db9239
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue