send html emails for more mail types
This commit is contained in:
@@ -15,7 +15,7 @@ class BookingMailSystem implements MailSystemInterface {
|
||||
*/
|
||||
public function format(array $message) {
|
||||
$message['body'] = implode("\n\n", $message['body']);
|
||||
watchdog('booking_debug', "<pre>BookingMailSystem format:\n@info</pre>", array('@info' => print_r( $message, true)));
|
||||
//watchdog('booking_debug', "<pre>BookingMailSystem format:\n@info</pre>", array('@info' => print_r( $message, true)));
|
||||
return $message;
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class BookingMailSystem implements MailSystemInterface {
|
||||
preg_replace('@\r?\n@', $line_endings, $message['body']),
|
||||
join("\n", $mimeheaders)
|
||||
);
|
||||
watchdog('booking_debug', "<pre>BookingMailSystem mail:\n@info</pre>", array('@info' => print_r( $mail, true)));
|
||||
//watchdog('booking_debug', "<pre>BookingMailSystem mail:\n@info</pre>", array('@info' => print_r( $mail, true)));
|
||||
return $mail;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user