email header encoding everywhere
This commit is contained in:
parent
a5755b59a8
commit
07ba4da634
8 changed files with 31 additions and 19 deletions
|
|
@ -7,6 +7,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
require_once('include/email.php');
|
||||
|
||||
function invite_post(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
|
|
@ -56,7 +58,7 @@ function invite_post(&$a) {
|
|||
else
|
||||
$nmessage = $message;
|
||||
|
||||
$res = mail($recip, sprintf( t('Please join us on Friendica'), $a->config['sitename']),
|
||||
$res = mail($recip, email_header_encode( t('Please join us on Friendica'),'UTF-8'),
|
||||
$nmessage,
|
||||
"From: " . $a->user['email'] . "\n"
|
||||
. 'Content-type: text/plain; charset=UTF-8' . "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue