Podręcznik:UserMailer.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:UserMailer.php and the translation is 50% complete.
Other languages:
English • ‎français • ‎polski • ‎português do Brasil • ‎日本語

Opis

Plik UserMailer.php zawiera zbiór funkcji statycznych do wysyłania poczty.

Klasa UserMailer

This module performs a direct (authenticated) login to a SMTP Server to use for mail relaying if $wgSMTP specifies an array of parameters. It requires PEAR:Mail to do that. Otherwise it just uses the standard PHP 'mail' function.

Klasa EmailNotification

This module processes the email notifications when the current page is changed. It looks up the table watchlist to find out which users are watching that page and sends independent emails to each watching user.