MediaWiki REL1_35
|
Stable to implement. 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. | |
Stable to implement.
Definition at line 11 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.