function forena_mail in Forena Reports 7.4
Same name and namespace in other branches
- 8 forena.module \forena_mail()
- 6.2 forena.module \forena_mail()
- 6 forena.module \forena_mail()
- 7.5 forena.module \forena_mail()
- 7 forena.module \forena_mail()
- 7.2 forena.module \forena_mail()
- 7.3 forena.module \forena_mail()
Impementation of hook_mail Builds an email to send when mailing large numbers of users.
File
- ./
forena.module, line 1558
Code
function forena_mail($key, &$message, $parms) {
switch ($key) {
case 'mailmerge':
$message['subject'] = $parms['subject'];
$body = $parms['body'];
$message['body'][] = $body;
if (isset($parms['headers'])) {
$message['headers'] += $parms['headers'];
}
$htmlmail = FALSE;
break;
}
}