MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. 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(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AlternateUserMailer" to register handlers implementing this interface.
Definition at line 14 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.