function mailhandler_mailhandler_auth in Mailhandler 6.2
Implementation of hook_mailhandler_auth().
File
- ./
mailhandler.module, line 122 - Retrieves email for posting as nodes and comments.
Code
function mailhandler_mailhandler_auth($op, $message) {
if ($op != 'auth_failed' || !module_exists('trigger')) {
return;
}
$aids = _trigger_get_hook_aids('mailhandler_auth', $op);
$context = array(
'hook' => 'mailhandler_auth',
'op' => $op,
'message' => $message,
);
actions_do(array_keys($aids), $message, $context);
}