From d21cf7f8376b6ce5dd3bbeb41da3aff0e85c6e28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20CISS=C3=89?= Date: Fri, 15 Feb 2013 11:03:00 +0100 Subject: [PATCH] notify_email: Add charset in Content-Type header (seems required by some picky spam filters) Signed-off-by: Florian Forster --- src/notify_email.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2