function mail_debugger_mail in Mail Debugger 7
Same name and namespace in other branches
- 8 mail_debugger.module \mail_debugger_mail()
- 7.2 mail_debugger.module \mail_debugger_mail()
Implement hook_mail()
Parameters
string $key:
array $message:
array $params:
File
- ./
mail_debugger.module, line 29
Code
function mail_debugger_mail($key, &$message, $params) {
switch ($key) {
case 'custom_mail':
$message['body'] = array(
$params['body'],
);
$message['subject'] = $params['subject'];
break;
default:
break;
}
}