--- includes/mail.inc 2011-03-28 10:09:40.797463300 +0200 +++ includes/mailNew.inc 2011-03-28 10:11:31.192501700 +0200 @@ -108,6 +108,7 @@ function drupal_mail($module, $key, $to, 'from' => isset($from) ? $from : $default_from, 'language' => $language, 'params' => $params, + 'send' => $send, 'subject' => '', 'body' => array() ); @@ -147,7 +148,7 @@ function drupal_mail($module, $key, $to, $message = $system->format($message); // Optionally send e-mail. - if ($send) { + if ($message['send']) { $message['result'] = $system->mail($message); // Log errors