You are here

function patron_mail in Library 6

Same name and namespace in other branches
  1. 5.2 patron/patron.module \patron_mail()

Implementation of hook_mail()

File

patron/patron.module, line 497

Code

function patron_mail($key, &$message, $params) {
  $language = $message['language'];
  switch ($key) {
    case 'email_form':
      $message['subject'] .= $params['subject'];
      $message['body'][] = $params['message'];
      break;
  }
}