debug
This commit is contained in:
@@ -869,6 +869,8 @@ function booking_mail($key, &$message, $params) {
|
|||||||
if (isset($params['headers']) && is_array($params['headers'])) {
|
if (isset($params['headers']) && is_array($params['headers'])) {
|
||||||
$message['headers'] += $params['headers'];
|
$message['headers'] += $params['headers'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
watchdog('booking_debug', "<pre>Mail hook:\n@info</pre>", array('@info' => print_r( $message, true)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -882,7 +884,7 @@ function booking_mail_alter(&$message) {
|
|||||||
'MIME-Version' => '1.0',
|
'MIME-Version' => '1.0',
|
||||||
'Content-Type' => 'text/html; charset=UTF-8; format=flowed',
|
'Content-Type' => 'text/html; charset=UTF-8; format=flowed',
|
||||||
'Content-Transfer-Encoding' => '8bit',
|
'Content-Transfer-Encoding' => '8bit',
|
||||||
'X-Mailer' => 'Drupal1',
|
'X-Mailer' => 'Drupal',
|
||||||
);
|
);
|
||||||
}else{
|
}else{
|
||||||
$headers = array(
|
$headers = array(
|
||||||
|
Reference in New Issue
Block a user