diff options
author | Friendika <info@friendika.com> | 2011-04-14 17:13:13 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-14 17:13:13 -0700 |
commit | de131c9e58ac2b14380d145d643bf2bd902ae9dc (patch) | |
tree | b39152160902426b8929165ba82f7c6311610ab8 /mod/dfrn_request.php | |
parent | c3b42fdbcb2165045e0ae759e103cc7d44b3f584 (diff) | |
download | volse-hubzilla-de131c9e58ac2b14380d145d643bf2bd902ae9dc.tar.gz volse-hubzilla-de131c9e58ac2b14380d145d643bf2bd902ae9dc.tar.bz2 volse-hubzilla-de131c9e58ac2b14380d145d643bf2bd902ae9dc.zip |
set utf-8 on all emails
Diffstat (limited to 'mod/dfrn_request.php')
-rw-r--r-- | mod/dfrn_request.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 11b7438a7..3c1c216fe 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -544,7 +544,10 @@ function dfrn_request_content(&$a) { $res = mail($r[0]['email'], t("Introduction received 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' ); + // This is a redundant notification - no point throwing errors if it fails. } if($auto_confirm) { |