From: Manuel CISSÉ Date: Fri, 15 Feb 2013 10:03:00 +0000 (+0100) Subject: notify_email: Add charset in Content-Type header (seems required by some picky spam... X-Git-Tag: collectd-5.1.3~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d21cf7f8376b6ce5dd3bbeb41da3aff0e85c6e28;p=collectd.git notify_email: Add charset in Content-Type header (seems required by some picky spam filters) Signed-off-by: Florian Forster --- diff --git a/src/notify_email.c b/src/notify_email.c index cd216ca2..24c66ec0 100644 --- a/src/notify_email.c +++ b/src/notify_email.c @@ -258,7 +258,7 @@ static int notify_email_notification (const notification_t *n, /* Let's make RFC822 message text with \r\n EOLs */ ssnprintf (buf, buf_len, "MIME-Version: 1.0\r\n" - "Content-Type: text/plain;\r\n" + "Content-Type: text/plain; charset=\"US-ASCII\"\r\n" "Content-Transfer-Encoding: 8bit\r\n" "Subject: %s\r\n" "\r\n"