This page is a translated version of the page Manual:$wgEnableEmail and the translation is 29% complete.
Outdated translations are marked like this.
Настройки электронной почты: $wgEnableEmail
Set to true to enable basic email features.
Введено в версии:1.4.0
Удалено в версии:все еще используется
Допустимые значения:(булевы значения)
Значение по умолчанию:true


Установить значение 'true' для включения базовых возможностей e-mail: напоминание пароля и т.д.

Some hosting providers (for example Hostmonster) appear to check that the "From:" and "Return-Path:" are genuine, to prevent spammers from using their accounts.

To enable this email:

  • Find out what the correct sender is, e.g. by visiting a PHP page containing the following code and checking the message you receive
mail("","My subject","My message body");
  • Let's assume the email at the previous point came through from "".

Change the following variables in LocalSettings.php:

$wgEmergencyContact = "";
$wgPasswordSender   = "";

Если отправка почты на вашем сервере не работает, вы можете отключить эту функцию.

MediaWiki email is almost certainly not going to work out-of-the-box on Windows servers, and it may require additional configuration on Linux servers.

See Manual:$wgSMTP for information on how to configure the sending of email.

Disable email

To disable email, in LocalSettings.php, change the default:

$wgEnableEmail = true;


$wgEnableEmail = false;

См. также