Fix duplicate Content-Type header in SMTPNotifier
- SMTPNotifier would send the Content-Type header twice - Fixes #498pull/546/head
parent
a39245a8e8
commit
1ef3485418
|
@ -41,7 +41,6 @@ func (n *SMTPNotifier) Send(recipient string, subject string, body string) error
|
||||||
msg := "From: " + n.sender + "\n" +
|
msg := "From: " + n.sender + "\n" +
|
||||||
"To: " + recipient + "\n" +
|
"To: " + recipient + "\n" +
|
||||||
"Subject: " + subject + "\n" +
|
"Subject: " + subject + "\n" +
|
||||||
"Content-Type: text/html\n" +
|
|
||||||
"MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n" +
|
"MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n" +
|
||||||
body
|
body
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue