* Removed -f parameter from mail() usage, likely to cause failures and bounces.
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 2 Jun 2005 03:12:54 +0000 (03:12 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 2 Jun 2005 03:12:54 +0000 (03:12 +0000)
RELEASE-NOTES
includes/UserMailer.php

index d5a2fa8..d448708 100644 (file)
@@ -237,6 +237,7 @@ Various bugfixes, small features, and a few experimental things:
   leaves the whitespace from the section comment there on preview.
 * (bug 2274) Respect stub threshold in category page list
 * (bug 2173) Fatal error when removing an article with an empty title from the watchlist
+* Removed -f parameter from mail() usage, likely to cause failures and bounces.
 
 
 === Caveats ===
index 7c1225c..2bb3d9a 100644 (file)
@@ -93,8 +93,7 @@ function userMailer( $to, $from, $subject, $body, $replyto=false ) {
 
                $wgErrorString = '';
                set_error_handler( 'mailErrorHandler' );
-               # added -f parameter, see PHP manual for the fifth parameter when using the mail function
-               mail( $to, $subject, $body, $headers, " -f {$wgEmergencyContact}\n");
+               mail( $to, $subject, $body, $headers );
                restore_error_handler();
 
                if ( $wgErrorString ) {