Manual:Hooks/EmailUserCC

From MediaWiki.org
Jump to: navigation, search
EmailUserCC
Available from version 1.17.0 (r64903)
Occurs before sending the copy of the email to the author

Define function:
public static function onEmailUserCC( $to, $from, $subject, $text ) { ... }

Attach hook:
$wgHooks['EmailUserCC'][] = 'MyExtensionHooks::onEmailUserCC';
Called from: SpecialEmailuser.php

For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:EmailUserCC extensions.


[edit] Details

  • $to: address of receiving user
  • $from: address of sending user
  • $subject: subject of the mail
  • $text: text of the mail
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox