Manual:UserMailer.php
MediaWiki file: UserMailer.php | |
---|---|
Location: | includes/mail/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | UserMailer |
Description
editThe UserMailer.php file contains a collection of static functions for sending mail.
UserMailer class
editThis 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.
EmailNotification class
editThis 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.