You are here

function og_mail in Organic groups 6

Same name and namespace in other branches
  1. 5 og.module \og_mail()
  2. 5.2 og.module \og_mail()
  3. 5.7 og.module \og_mail()
  4. 6.2 og.module \og_mail()

Implementation of hook_mail().

File

./og.module, line 938

Code

function og_mail($key, &$message, $params) {
  $language = $message['language'];
  $message['subject'] .= _og_mail_text('og_' . $key . '_subject', $params, $language);
  $message['body'][] = _og_mail_text('og_' . $key . '_body', $params, $language);
}