From: martin Date: Fri, 7 Jun 2002 03:54:39 +0000 (+0000) Subject: More tweaking of the mail formatting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7868189942d0807d9f171e9bdb4fc4bb0930c1f0;p=moodle.git More tweaking of the mail formatting --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 7b83b6dba1..1ac63a646d 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -927,10 +927,10 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a if ($messagehtml) { $mail->IsHTML(true); $mail->Body = $messagehtml; - $mail->AltBody = "\n\n$messagetext\n"; + $mail->AltBody = "\n$messagetext\n"; } else { $mail->IsHTML(false); - $mail->Body = "\n\n$messagetext\n"; + $mail->Body = "\n$messagetext\n"; } if ($attachment && $attachname) {