MediaWiki  master
UserMailerTransformMessageHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use MailAddress;
6 
31  public function onUserMailerTransformMessage( $to, $from, &$subject, &$headers,
32  &$body, &$error
33  );
34 }
MediaWiki\Hook\UserMailerTransformMessageHook\onUserMailerTransformMessage
onUserMailerTransformMessage( $to, $from, &$subject, &$headers, &$body, &$error)
This hook is called in UserMailer::send() to change email after it has gone through the MIME transfor...
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\UserMailerTransformMessageHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserMailerTransformMessageHook.php:14
MailAddress
Stores a single person's name and email address.
Definition: MailAddress.php:34