aboutsummaryrefslogtreecommitdiffstats
path: root/mod/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invite.php')
-rw-r--r--mod/invite.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/invite.php b/mod/invite.php
index 84fa978ad..1c5119595 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 ++;
}