Manual:$wgEnableEmail/cs

Podrobnosti
Nastavením na hodnotu true povolíte základní funkce e-mailu.

Informace o konfiguraci odesílání e-mailů naleznete v části.

Pokud odesílání e-mailu na server nefunguje, podívejte se na Pokyny k odstraňování problémů.



Software místního agenta pro přenos pošty
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  variable in the file   to point to the correct executable file of your mail server software. See the PHP documentation.

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

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


 * Find out what the correct sender is, e.g. by visiting a PHP page containing the following code and checking the email that you receive:

Change the following variables in :
 * Let's assume the email at the previous point came through from "exampleAccountName@myHost.example.com".

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



to