function webform_protected_downloads_mail in Webform Protected Downloads 7
Same name and namespace in other branches
- 6 webform_protected_downloads.module \webform_protected_downloads_mail()
Implementation of hook_mail().
File
- ./
webform_protected_downloads.module, line 917 - This file contains hook declarations and functions for the Webform Protected Downloads module.
Code
function webform_protected_downloads_mail($key, &$message, $params) {
switch ($key) {
case 'confirmation':
$message['subject'] = $params['subject'];
$message['body'][] = $params['body'];
break;
}
}