Permalink
Browse files

More tweaking of the mail formatting

  • Loading branch information...
martin
martin committed Jun 7, 2002
1 parent ca9b86d commit 7868189942d0807d9f171e9bdb4fc4bb0930c1f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
@@ -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) {

0 comments on commit 7868189

Please sign in to comment.