aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-14 17:13:13 -0700
committerFriendika <info@friendika.com>2011-04-14 17:13:13 -0700
commitde131c9e58ac2b14380d145d643bf2bd902ae9dc (patch)
treeb39152160902426b8929165ba82f7c6311610ab8 /include/items.php
parentc3b42fdbcb2165045e0ae759e103cc7d44b3f584 (diff)
downloadvolse-hubzilla-de131c9e58ac2b14380d145d643bf2bd902ae9dc.tar.gz
volse-hubzilla-de131c9e58ac2b14380d145d643bf2bd902ae9dc.tar.bz2
volse-hubzilla-de131c9e58ac2b14380d145d643bf2bd902ae9dc.zip
set utf-8 on all emails
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 82752e168..733cd8048 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1415,7 +1415,9 @@ function new_follower($importer,$contact,$datarray,$item) {
$res = mail($r[0]['email'],
t("You have a new follower at ") . $a->config['sitename'],
$email,
- 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
+ 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] . "\n"
+ . 'Content-type: text/plain; charset=UTF-8' . "\n"
+ . 'Content-transfer-encoding: 8bit' );
}
}