From 747227931a9fdf7b84f01297cdefef8f4b7ddfa5 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sat, 19 Aug 2023 08:14:45 -0700 Subject: [PATCH] Apply message formatting changes to mail.php also. --- Rocksolid_Light/spoolnews/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/spoolnews/mail.php b/Rocksolid_Light/spoolnews/mail.php index 8e854a7..1870fe7 100644 --- a/Rocksolid_Light/spoolnews/mail.php +++ b/Rocksolid_Light/spoolnews/mail.php @@ -158,7 +158,7 @@ echo ''; if(($row['mail_from'] != $user) && ($row['rcpt_to'] != $user)) { continue; } - $body = rtrim(nl2br($row['message'])).'
'; + $body = rtrim($row['message']).'

'; echo '
'; echo 'Subject: '.$row['subject'].'
'; echo 'From: '.$row['mail_from'].'
';