aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_confirm.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 /mod/dfrn_confirm.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 'mod/dfrn_confirm.php')
-rw-r--r--mod/dfrn_confirm.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 02437ec36..58473146d 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -651,7 +651,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
);
$res = mail($r[0]['email'], sprintf( t("Connection accepted at %s") , $a->config['sitename']),
- $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
+ $email_tpl,
+ 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] . "\n"
+ . 'Content-type: text/plain; charset=UTF-8' . "\n"
+ . 'Content-transfer-encoding: 8bit' );
+
if(!$res) {
// pointless throwing an error here and confusing the person at the other end of the wire.
}