X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Finvite.php;h=1c511959574820d0a4646ec8ccea2a3538306559;hb=b3a5fccc9d4af4dc66ae8f0404817690a333c433;hp=84fa978ad1aafb397e82e55296256fd94d000202;hpb=067626380db6d5ed71d68bd91481ff51cfa76915;p=friendica.git diff --git a/mod/invite.php b/mod/invite.php index 84fa978ad1..1c51195957 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -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 ++; }