From 1ef34854185d8fa30a9cdbee4fa3869ac82a5d0e Mon Sep 17 00:00:00 2001 From: James Elliott Date: Mon, 30 Dec 2019 11:16:21 +1100 Subject: [PATCH] Fix duplicate Content-Type header in SMTPNotifier - SMTPNotifier would send the Content-Type header twice - Fixes #498 --- internal/notification/smtp_notifier.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/notification/smtp_notifier.go b/internal/notification/smtp_notifier.go index 20031d4ef..f7331d88e 100644 --- a/internal/notification/smtp_notifier.go +++ b/internal/notification/smtp_notifier.go @@ -41,7 +41,6 @@ func (n *SMTPNotifier) Send(recipient string, subject string, body string) error msg := "From: " + n.sender + "\n" + "To: " + recipient + "\n" + "Subject: " + subject + "\n" + - "Content-Type: text/html\n" + "MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n" + body