projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73b6265
)
notify_email: Add charset in Content-Type header (seems required by some picky spam...
author
Manuel CISSÉ
<manuel_cisse@yahoo.fr>
Fri, 15 Feb 2013 10:03:00 +0000
(11:03 +0100)
committer
Florian Forster
<octo@collectd.org>
Fri, 5 Apr 2013 06:03:14 +0000
(08:03 +0200)
Signed-off-by: Florian Forster <octo@collectd.org>
src/notify_email.c
patch
|
blob
|
history
diff --git
a/src/notify_email.c
b/src/notify_email.c
index
cd216ca
..
24c66ec
100644
(file)
--- 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"