You are here

function hosting_client_mail in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 client/hosting_client.module \hosting_client_mail()
  2. 7.3 client/hosting_client.module \hosting_client_mail()

Implements hook_mail().

File

client/hosting_client.module, line 522

Code

function hosting_client_mail($key, &$message, $params) {
  switch ($key) {
    case 'hosting-client-register-welcome':
      $message['subject'] = _hosting_client_mail_text('welcome_subject', $params);
      $message['body'][] = _hosting_client_mail_text('welcome_body', $params);
      break;
  }
}