]> git.mjollnir.org Git - moodle.git/commitdiff
More tweaking of the mail formatting
authormartin <martin>
Fri, 7 Jun 2002 03:54:39 +0000 (03:54 +0000)
committermartin <martin>
Fri, 7 Jun 2002 03:54:39 +0000 (03:54 +0000)
lib/moodlelib.php

index 7b83b6dba19f3499f4eea64e193112b599a320cb..1ac63a646d4b0c96ce09fbc1e6b8213224a1fd70 100644 (file)
@@ -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) {