function forena_mail in Forena Reports 6
Same name and namespace in other branches
- 8 forena.module \forena_mail()
- 6.2 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()
- 7.4 forena.module \forena_mail()
Impementation of hook_mail Builds an email to send when mailing large numbers of users.
File
- ./
forena.module, line 672
Code
function forena_mail($key, &$message, $parms) {
switch ($key) {
case 'mailmerge':
$message['subject'] = $parms['subject'];
$body = $parms['body'];
$message['body'] = '<html><body>' . $body . '</body></html>';
$message['headers']['MIME-Version'] = '1.0';
$message['headers']['Content-Type'] = 'text/html;charset=utf-8';
break;
}
}