You are here

function hosting_client_mail in Hostmaster (Aegir) 6

Implementation of hook_mail().

File

modules/hosting/client/hosting_client.module, line 386

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;
  }
}