You are here

function mail_debugger_mail in Mail Debugger 8

Same name and namespace in other branches
  1. 7 mail_debugger.module \mail_debugger_mail()
  2. 7.2 mail_debugger.module \mail_debugger_mail()

Implements hook_mail().

File

./mail_debugger.module, line 6

Code

function mail_debugger_mail($key, &$message, $params) {
  $message['body'][] = $params['body'];
  $message['subject'] = $params['subject'];
}