X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=5ed7642005628546069db335f818a55e97fe5971;hb=132600eee275146cbe1401bd32956bd5e1295070;hp=21f41eb01ccc3c854443f22e3465ba50cc3797fa;hpb=803f79e0912c4a526a16fdda4809277d8ad3195d;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php old mode 100755 new mode 100644 index 21f41eb01c..5ed7642005 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -1,5 +1,7 @@ $user[0]['uid'] )); - $res = mail($user[0]['email'], sprintf(t('Registration details for %s'), $a->config['sitename']), + $res = mail($user[0]['email'], email_header_encode( sprintf(t('Registration details for %s'), $a->config['sitename']), 'UTF-8'), $email_tpl, - 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] . "\n" + 'From: ' . 'Administrator' . '@' . $_SERVER['SERVER_NAME'] . "\n" . 'Content-type: text/plain; charset=UTF-8' . "\n" . 'Content-transfer-encoding: 8bit' );