This commit is contained in:
2017-06-27 13:15:05 +10:00
parent 526060696e
commit c45c5739a9

View File

@@ -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', "<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',
'Content-Type' => 'text/html; charset=UTF-8; format=flowed',
'Content-Transfer-Encoding' => '8bit',
'X-Mailer' => 'Drupal1',
'X-Mailer' => 'Drupal',
);
}else{
$headers = array(