Manual:$wgEnableEmail
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 |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
Establecer como true para habilitar las funciones del correo electrónico: Recordatorios de contraseñas, etc.
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.
Si desea habilitar esta función, tendrá que:
- Encuentre cual es el remitente correcto, por ejemplo. Visitando una página PHP que contenga el siguiente código y comprobando el mensaje recibido.
<?php
mail("my.private.address@example.com","My subject","My message body");
?>
- Let's assume the email at the previous point came through from "myHostmonsterAccountName@myHost.example.com".
Change the following variables in LocalSettings.php
:
$wgEmergencyContact = "exampleAccountName@myHost.example.com";
$wgPasswordSender = "exampleAccountName@myHost.example.com";
If sending email on the server doesn't work, try this work-around, or just disable this feature, i.e. set $wgEnableEmail
to false
.
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;
to
$wgEnableEmail = false;