MediaWiki master
EmailUserHook.php
Go to the documentation of this file.
1<?php
2
4
8
16interface EmailUserHook {
30 public function onEmailUser( &$to, &$from, &$subject, &$text, &$error );
31}
32
34class_alias( EmailUserHook::class, 'MediaWiki\\Hook\\EmailUserHook' );
Represent and format a single name and email address pair for SMTP.
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition Status.php:44
This is a hook handler interface, see docs/Hooks.md.
onEmailUser(&$to, &$from, &$subject, &$text, &$error)
This hook is called before sending email from one user to another.