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

Public Member Functions | |
| onUserMailerTransformMessage ( $to, $from, &$subject, &$headers, &$body, &$error) | |
| This hook is called in UserMailer::send() to change email after it has gone through the MIME transform. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserMailerTransformMessage" to register handlers implementing this interface.
Definition at line 14 of file UserMailerTransformMessageHook.php.
| MediaWiki\Hook\UserMailerTransformMessageHook::onUserMailerTransformMessage | ( | $to, | |
| $from, | |||
| & | $subject, | ||
| & | $headers, | ||
| & | $body, | ||
| & | $error ) |
This hook is called in UserMailer::send() to change email after it has gone through the MIME transform.
| MailAddress[] | $to | Array of addresses of the targets |
| MailAddress | $from | Address of the sender |
| string | &$subject | Email subject (not MIME encoded) |
| array | &$headers | Email headers (except To: and Subject:) as an array of header name => value pairs |
| string | &$body | email body (in MIME format) |
| string | &$error | Error message |
Implemented in MediaWiki\HookContainer\HookRunner.