MediaWiki
master
UserMailerTransformContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Mail\Hook
;
4
5
use
MediaWiki\Mail\MailAddress
;
6
14
interface
UserMailerTransformContentHook
{
28
public
function
onUserMailerTransformContent
( $to, $from, &$body, &$error );
29
}
30
32
class_alias( UserMailerTransformContentHook::class,
'MediaWiki\\Hook\\UserMailerTransformContentHook'
);
MediaWiki\Mail\MailAddress
Represent and format a single name and email address pair for SMTP.
Definition
MailAddress.php:24
MediaWiki\Mail\Hook\UserMailerTransformContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserMailerTransformContentHook.php:14
MediaWiki\Mail\Hook\UserMailerTransformContentHook\onUserMailerTransformContent
onUserMailerTransformContent( $to, $from, &$body, &$error)
This hook is called in UserMailer::send() to change email contents.
MediaWiki\Mail\Hook
Definition
AlternateUserMailerHook.php:3
includes
Mail
Hook
UserMailerTransformContentHook.php
Generated on Thu Jun 18 2026 13:26:44 for MediaWiki by
1.10.0