add more detail to study group definitions and email token

This commit is contained in:
Nathan Coad
2018-06-16 18:39:55 +10:00
parent be5d1e8c2f
commit ed45d52007
5 changed files with 57 additions and 20 deletions

View File

@@ -328,12 +328,12 @@ function _booking_custom_email($nid, $email_type, $sender = 'contact') {
'!email' => variable_get('booking_logistics_email', variable_get('site_mail', ini_get('sendmail_from')))
));
// Test email attachments with dummy file
$attachment = array(
'filecontent' => file_get_contents(DRUPAL_ROOT . '/README.txt'),
'filename' => 'test.txt',
'filemime' => 'text/plain',
);
$params['attachment'] = $attachment;
//$attachment = array(
// 'filecontent' => file_get_contents(DRUPAL_ROOT . '/README.txt'),
// 'filename' => 'test.txt',
// 'filemime' => 'text/plain',
//);
//$params['attachment'] = $attachment;
}
//load the node matching this id