MediaWiki master
AlternateUserMailerHook.php
Go to the documentation of this file.
1<?php
2
4
6
30 public function onAlternateUserMailer( $headers, $to, $from, $subject, $body );
31}
32
34class_alias( AlternateUserMailerHook::class, 'MediaWiki\\Hook\\AlternateUserMailerHook' );
Represent and format a single name and email address pair for SMTP.
This is a hook handler interface, see docs/Hooks.md.
onAlternateUserMailer( $headers, $to, $from, $subject, $body)
This hook is called before mail is sent so that mail could be logged (or something else) instead of u...