test mime mail config

This commit is contained in:
Nathan Coad
2018-06-16 19:11:31 +10:00
parent 53d8919064
commit b0ea07b789
2 changed files with 9 additions and 9 deletions

View File

@@ -976,9 +976,9 @@ function booking_mail($key, &$message, $params) {
// Add attachment when available.
// From https://drupal.stackexchange.com/questions/101035/send-attachments-with-drupal-mail
//if (isset($params['attachment'])) {
// $message['params']['attachments'][] = $params['attachment'];
//}
if (isset($params['attachment'])) {
$message['params']['attachments'][] = $params['attachment'];
}
//watchdog('booking_debug', "<pre>Mail hook:\n@info</pre>", array('@info' => print_r( $message, true)));
}