MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onAlternateUserMailer ( $headers, $to, $from, $subject, $body) | |
This hook is called before mail is sent so that mail could be logged (or something else) instead of using PEAR or PHP's mail(). | |
Stable to implement.
Definition at line 11 of file AlternateUserMailerHook.php.
MediaWiki\Hook\AlternateUserMailerHook::onAlternateUserMailer | ( | $headers, | |
$to, | |||
$from, | |||
$subject, | |||
$body | |||
) |
This hook is called before mail is sent so that mail could be logged (or something else) instead of using PEAR or PHP's mail().
array | $headers | Associative array of headers for the email |
MailAddress | array | $to | To address |
MailAddress | $from | From address |
string | $subject | Subject of the email |
string | $body | Body of the message |
Implemented in MediaWiki\HookContainer\HookRunner.