diff --git a/booking.module b/booking.module index 3be6d49..2d0abcd 100644 --- a/booking.module +++ b/booking.module @@ -869,6 +869,8 @@ function booking_mail($key, &$message, $params) { if (isset($params['headers']) && is_array($params['headers'])) { $message['headers'] += $params['headers']; } + + watchdog('booking_debug', "
Mail hook:\n@info
", array('@info' => print_r( $message, true))); } /** @@ -882,7 +884,7 @@ function booking_mail_alter(&$message) { 'MIME-Version' => '1.0', 'Content-Type' => 'text/html; charset=UTF-8; format=flowed', 'Content-Transfer-Encoding' => '8bit', - 'X-Mailer' => 'Drupal1', + 'X-Mailer' => 'Drupal', ); }else{ $headers = array(