Fix sourceforge bug #811928:
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 15 Aug 2004 23:48:39 +0000 (23:48 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 15 Aug 2004 23:48:39 +0000 (23:48 +0000)
Removed several occurences of "\r" which break headers in Outlook at least.
Tested ok on mozilla-thunderbird and The-Bat

includes/UserMailer.php

index abf6c4a..5921962 100644 (file)
@@ -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 = "";