You are here

function mailhandler_mailhandler_auth_failed in Mailhandler 7.2

Implements hook_mailhandler_auth_failed().

File

./mailhandler.module, line 114
Retrieves email for posting as nodes and comments.

Code

function mailhandler_mailhandler_auth_failed($message) {
  if (!module_exists('trigger')) {
    return;
  }
  $aids = trigger_get_assigned_actions('mailhandler_auth_failed');
  $context = array(
    'group' => 'mailhandler',
    'hook' => 'mailhandler_auth_failed',
    'message' => $message,
  );
  actions_do(array_keys($aids), $message, $context);
}