This page is a translated version of the page Manual:$wgEnableEmail and the translation is 59% complete.
Email settings: $wgEnableEmail
Aseta todeksi (true), jotta saat sähköpostin perusominaisuudet käyttöön.
Introduced in version:1.4.0
Removed in version:still in use
Allowed values:(boolean)
Default value:true


Aseta todeksi, jotta sähköpostin perusominaisuudet otetaan käyttöön (salasanamuistutukset yms).

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

Ottaaksesi käyttöön tämän sähköpostin:

  • 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.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".

Muuta seuraavia muuttujia tiedostossa 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.

Sähköpostin poistaminen käytöstä

Poistaaksesi sähköpostin käytöstä, muuta oletusarvoja tiedostossa localsettings.php:

$wgEnableEmail = true;


$wgEnableEmail = false;

Katso myös