|Email settings: $wgPasswordSender|
|Password reminder email address.
|Introduced in version:||1.1.0|
|Removed in version:||still in use|
|Default value:||$wgEmergencyContact from 1.5.0 (see below)
'Wikipedia Mail <apache@' . $wgServerName . '>' from 1.3.8 to 1.4.15
"Wikipedia Mail <apache@" . getenv( "SERVER_NAME" ) . ">" from 1.2.0 to 1.3.7
"Wikipedia Mail <firstname.lastname@example.org>\r\nReply-To: email@example.com" in v1.1.0
Password reminder email address The address we should use as sender when a user is requesting his password. Also used as the sender address for other email notifications.
Pre 1.17 
Prior to 1.17 this setting was used as the literal string to use for the From: field in the e-mail, therefore anything that is valid in that field is allowed here.
The most common use-cases were:
- E-mail address: "firstname.lastname@example.org"
- E-mail address with alternative display name: "Wiki Administrator <email@example.com>"
1.17 onwards 
As of 1.17, the From: field is constructed from this setting and $wgPasswordSenderName. Therefore this setting should contain just the e-mail address (as per the first example, above). If it is in any format then it will mangle the From: field. The second of the above examples can be achieved by using both settings, for example:
$wgPasswordSender = "firstname.lastname@example.org"; $wgPasswordSenderName = "Wiki Administrator";
Usage in DefaultSettings.php 
Note that from v1.5.0 upwards, the default value in DefaultSettings.php is initially set to the same value as was used in 1.4.x (with 'Wikipedia' changed to 'MediaWiki' in v1.6.0) but this is overridden later in DefaultSettings.php where it sets it to the value of $wgEmergencyContact, so this initial value is never seen (hence the current default value, above). This information is largely irrelevant, but is included here because it can cause confusion if you are browsing DefaultSettings.php to check the default value.
|Language:||English • français • 日本語|