This page is a translated version of the page Manual:$wgEnableEmail and the translation is 25% complete.
Outdated translations are marked like this.
Email settings: $wgEnableEmail
Establecer como true para habilitar las funciones básicas del correo electrónico.
Introducido en la versión:1.4.0
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:true


Establecer como true para habilitar las funciones del correo electrónico: Recordatorios de contraseñas, etc.

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

If sending email on the server doesn't work, check the Troubleshooting instructions.

Local mail transfer agent software

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.

To send mail from your local server, a functional configuration of a message transfer agent (MTA) is required. Common local mail transfer agent software for sending messages on Linux systems are Postfix, Sendmail, or Exim.

Once a local mail transfer agent is installed, you must set the sendmail_path variable in the file php.ini to point to the correct executable file of your mail server software. See the PHP documentation.

External email providers

Alternatively you can use $wgSMTP to connect MediaWiki to an external email provider to send mail (for example Google Gmail).

Hosting providers

Tenga en cuenta que algunos proveedores de hosting (por ejemplo Hostmonster) comprueba el "From:" y "Return-Path:" si estos son reales, para prevenir que los spammers usen sus cuentas.

  • Encuentre cual es el remitente correcto, por ejemplo. Visitando una página PHP que contenga el siguiente código y comprobando el mensaje recibido.
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   = "";

Disable email

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

$wgEnableEmail = true;


$wgEnableEmail = false;

Véase también