You are here

function rooms_booking_manager_mail in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Implements hook_mail().

File

modules/rooms_booking_manager/rooms_booking_manager.module, line 96
Rooms Booking Manager brings together all the pieces required to find a room and book it - including the DrupalCommerce integration

Code

function rooms_booking_manager_mail($key, &$message, $params) {
  switch ($key) {
    case 'enquiry_booking':
      $message['subject'] = t('Booking');
      $message['body'] = array(
        theme('rooms_booking_email', $params),
      );
  }
}