You are here

function mail_debugger_common_mail in Mail Debugger 7.3

Implement hook_mail()

Parameters

string $key:

array $message:

array $params:

File

modules/common/mail_debugger_common.module, line 59

Code

function mail_debugger_common_mail($key, &$message, $params) {
  switch ($key) {
    case 'basic':
      $message['body'] = array(
        $params['body'],
      );
      $message['subject'] = $params['subject'];
      break;
    default:
      break;
  }
}