Index: actions.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/actions/actions.inc,v retrieving revision 1.12 diff -u -p -r1.12 actions.inc --- actions.inc 8 Sep 2006 20:38:43 -0000 1.12 +++ actions.inc 19 Jan 2007 00:34:38 -0000 @@ -331,7 +331,7 @@ function action_send_email($op, $edit = $subject = str_replace(array("\r", "\n"), '', $subject); $message = strtr($message, $variables); } - if (user_mail($recipient, $subject, $message, "From: $from\nReply-to: $from\nX-Mailer: Drupal\nReturn-path: $from\nErrors-to: $from" )) { + if (drupal_mail('action_send_email', $recipient, $subject, $message, "From: $from\nReply-to: $from\nX-Mailer: Drupal\nReturn-path: $from\nErrors-to: $from" )) { watchdog('action', t('Sent email to %recipient', array('%recipient' => $recipient))); } else {