Manual:Hooks/EmailUserPermissionsErrors

Details

 * $user: The user who is trying to email another user.
 * $editToken: The user's edit token.
 * &$hookErr: Out-param for the error. Passed as the parameters to OutputPage::showErrorPage.