set utf-8 on all emails

This commit is contained in:
Friendika
2011-04-14 17:13:13 -07:00
parent c3b42fdbcb
commit de131c9e58
9 changed files with 57 additions and 14 deletions

View File

@@ -30,7 +30,11 @@ function invite_post(&$a) {
}
$res = mail($recip, sprintf(t('Please join my network on %s'), $a->config['sitename']),
$message, "From: " . $a->user['email']);
$message,
"From: " . $a->user['email'] . "\n"
. 'Content-type: text/plain; charset=UTF-8' . "\n"
. 'Content-transfer-encoding: 8bit' );
if($res) {
$total ++;
}