summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-22 09:00:08 +0100
committerAndrew Dolgov <[email protected]>2006-08-22 09:00:08 +0100
commit3ab3c1f0a7cbcac4960e03dbd26a8eb5b1660087 (patch)
treea24487be5b857a3452e0c64841df99a69846a810 /functions.php
parentdab4e89eae5701040553a3d083cb4522004b4cd6 (diff)
fix charset information in digest
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 89ed698fb..52e997aed 100644
--- a/functions.php
+++ b/functions.php
@@ -2405,7 +2405,9 @@
if ($headlines_count > 0) {
$rc = mail($line["login"] . " <" . $line["email"] . ">",
"[tt-rss] New headlines for last 24 hours", $digest,
- "From: " . MAIL_FROM);
+ "From: " . MAIL_FROM . "\n".
+ "Content-Type: text/plain; charset=\"utf-8\"\n".
+ "Content-Transfer-Encoding: 8bit\n");
print "RC=$rc\n";
db_query($link, "UPDATE ttrss_users SET last_digest_sent = NOW()
WHERE id = " . $line["id"]);