You are here

function uc_wishlist_mail in UC Wish List 7

Implements hook_mail().

File

./uc_wishlist.module, line 994
Allows users to create public shopping/wish lists.

Code

function uc_wishlist_mail($key, &$message, $params) {
  if (isset($params['subject'])) {
    $message['subject'] = $params['subject'];
  }
  if (isset($params['body'])) {
    $message['body'][] = $params['body'];
  }
  if (isset($params['headers']) && is_array($params['headers'])) {
    $message['headers'] += $params['headers'];
  }
}