MediaWiki  master
AlternateUserMailerHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use MailAddress;
6 
30  public function onAlternateUserMailer( $headers, $to, $from, $subject, $body );
31 }
Stores a single person's name and email address.
Definition: MailAddress.php:36
This is a hook handler interface, see docs/Hooks.md.
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 u...