]> git.mxchange.org Git - friendica.git/blobdiff - mod/invite.php
"profile locator/address" is now called "Identity Address" to reduce confusion
[friendica.git] / mod / invite.php
index e3662d758b5c899188697c2dcfd0b58b6028a6f5..1c511959574820d0a4646ec8ccea2a3538306559 100644 (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 ++;
                }
@@ -39,7 +43,7 @@ function invite_post(&$a) {
                }
 
        }
-       notice( sprintf(tt("%d message sent.", "%d messages sent.", $total), $total) . EOL);
+       notice( sprintf( tt("%d message sent.", "%d messages sent.", $total) , $total) . EOL);
        return;
 }