Last modified: 2010-05-15 15:28:16 UTC
The email sent by MediaWiki containing a new password has some additional carriage return characters in some header lines. Due to this, some email clients (e.g. Outlook Express...) display part of the mail header in the body of the mail, resulting in a missing 'From:' and missing charset declaration. The problem can be fixed by removing four '\r' characters in includes/UserMailer.php, function userMailer(), lines 46ff: New version: $headers = "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"; Existing version (V1.3.7/1.3.8): $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" . "X-Mailer: MediaWiki interuser e-mailer"; The change was tested on a Debian sarge system and fixed the problem.
Hashar fixed this in 1.4.