work on adding support for email attachments

This commit is contained in:
Nathan Coad
2018-06-16 19:59:11 +10:00
parent b0ea07b789
commit 39449c2cad
7 changed files with 549 additions and 494 deletions

View File

@@ -857,7 +857,10 @@ function booking_uninstall() {
function booking_enable() {
drupal_set_message($message = t('The Booking System module was successfully enabled.'), $type = 'status');
$current = variable_get('mail_system', array('default-system' => 'DefaultMailSystem'));
$addition = array('booking' => 'BookingMailSystem');
//$addition = array('booking' => 'BookingMailSystem');
// Use MimeMail module instead of our own version
$addition = array('booking' => 'MimeMailSystem');
variable_set('mail_system', array_merge($current, $addition));
}