From fcb2237d1d30a0d8ac06ea6508f6813cb289fc1b Mon Sep 17 00:00:00 2001 From: lkehresman Date: Thu, 3 Jan 2002 21:51:04 +0000 Subject: [PATCH] Not having the \r\n caused lots of problems for lots of people. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2083 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/smtp.php b/functions/smtp.php index ad566b3e..20525131 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -278,9 +278,9 @@ function write822Header ($fp, $t, $c, $b, $subject, $more_headers) { $received_from .= " (proxying for $HTTP_X_FORWARDED_FOR)"; } - $header = "Received: from $received_from\n"; - $header .= " (SquirrelMail authenticated user $username)\n"; - $header .= " by $SERVER_NAME with HTTP;\n"; + $header = "Received: from $received_from\r\n"; + $header .= " (SquirrelMail authenticated user $username)\r\n"; + $header .= " by $SERVER_NAME with HTTP;\r\n"; $header .= " $date\r\n"; /* Insert the rest of the header fields */ -- 2.25.1