MediaWiki master
MediaWiki\Hook\UserMailerSplitToHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onUserMailerSplitTo (&$to)
 This hook is called in UserMailer::send() to give extensions a chance to split up an email with multiple To: fields into separate emails.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserMailerSplitTo" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file UserMailerSplitToHook.php.

Member Function Documentation

◆ onUserMailerSplitTo()

MediaWiki\Hook\UserMailerSplitToHook::onUserMailerSplitTo ( & $to)

This hook is called in UserMailer::send() to give extensions a chance to split up an email with multiple To: fields into separate emails.

Since
1.35
Parameters
MailAddress[]&$toUnset the ones which should be mailed separately
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: