To be able to trigger the actions provided by the token_actions module, from the warning and expire triggers of the password expire module, you need to alter the actions array.

/**
 * Implementation of hook_action_info_alter()
 *
 * @see http://api.drupal.org/api/function/hook_action_info_alter/6
 */
function password_expire_action_info_alter(&$actions) {
  if (isset($actions['token_actions_send_email_action'])) {
    $actions['token_actions_send_email_action']['hooks']['password_expire'] = array('warning', 'expire');
  }
}

Adding the above code allows you to use the action to send tokenized e-mail.

Comments

adaven’s picture

Assigned: Unassigned » adaven
Category: feature » bug

Apologies for the delayed response. I've been away for a while. Thanks for the report. I'll add the fix.

adaven’s picture

Status: Active » Fixed

This is now fixed in version 6.x-1.0.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.