You are here

function registration_mail in Entity Registration 7.2

Same name and namespace in other branches
  1. 8.2 registration.module \registration_mail()
  2. 8 registration.module \registration_mail()
  3. 7 registration.module \registration_mail()

Implements hook_mail().

File

./registration.module, line 1051

Code

function registration_mail($key, &$message, $params) {
  $subject = $params['subject'];
  $body = $params['message'];
  $message['subject'] .= str_replace(array(
    "\r",
    "\n",
  ), '', $subject);
  $message['body'][] = drupal_html_to_text($body);
}