From 2dcf678a365c7bf034b85308ba10476dbdc04a2d Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 15 Aug 2004 23:48:39 +0000 Subject: [PATCH] Fix sourceforge bug #811928: Removed several occurences of "\r" which break headers in Outlook at least. Tested ok on mozilla-thunderbird and The-Bat --- includes/UserMailer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index abf6c4acf1..5921962031 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -44,10 +44,10 @@ function userMailer( $to, $from, $subject, $body ) else { $headers = - "MIME-Version: 1.0\r\n" . - "Content-type: text/plain; charset={$wgOutputEncoding}\r\n" . - "Content-transfer-encoding: 8bit\r\n" . - "From: {$from}\r\n" . + "MIME-Version: 1.0\n" . + "Content-type: text/plain; charset={$wgOutputEncoding}\n" . + "Content-transfer-encoding: 8bit\n" . + "From: {$from}\n" . "X-Mailer: MediaWiki interuser e-mailer"; $wgErrorString = ""; -- 2.20.1