Fix duplicate Content-Type header in SMTPNotifier

- SMTPNotifier would send the Content-Type header twice
- Fixes #498
pull/546/head
James Elliott 2019-12-30 11:16:21 +11:00 committed by Clément Michaud
parent a39245a8e8
commit 1ef3485418
1 changed files with 0 additions and 1 deletions

View File

@ -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