|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onEmailUserSendEmail (Authority $from, MailAddress $fromAddress, UserEmailContact $to, MailAddress $toAddress, string $subject, string $text, StatusValue $status) | |
| This hook is called before sending an email, when all other checks have succeeded. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EmailUserSendEmail" to register handlers implementing this interface.
Definition at line 18 of file EmailUserSendEmailHook.php.
| MediaWiki\Mail\Hook\EmailUserSendEmailHook::onEmailUserSendEmail | ( | Authority | $from, |
| MailAddress | $fromAddress, | ||
| UserEmailContact | $to, | ||
| MailAddress | $toAddress, | ||
| string | $subject, | ||
| string | $text, | ||
| StatusValue | $status ) |
This hook is called before sending an email, when all other checks have succeeded.
| Authority | $from | |
| MailAddress | $fromAddress | MailAddress of the sender |
| UserEmailContact | $to | |
| MailAddress | $toAddress | MailAddress of the target |
| string | $subject | |
| string | $text | |
| StatusValue | $status | Add any error here |
Implemented in MediaWiki\HookContainer\HookRunner.