Manual:Hooks/EmailUser

Details

 * $address: address of receiving user
 * $from: address of sending user
 * $subject: subject of the mail
 * $text: text of the mail
 * $error: error message returned by the hook