You are here

function sms_clickatell_send in SMS Framework 5

Same name and namespace in other branches
  1. 6 modules/sms_clickatell/sms_clickatell.module \sms_clickatell_send()

Callback for sending messages.

1 string reference to 'sms_clickatell_send'
sms_clickatell_gateway_info in modules/sms_clickatell/sms_clickatell.module
Implementation of hook_gateway_info().

File

modules/sms_clickatell/sms_clickatell.module, line 86
Adds support for sending SMS messages using the Clickatell gateway.

Code

function sms_clickatell_send($number, $message, $options) {
  $number = $options['country'] . $number;
  return sms_clickatell_command('sendmsg', array(
    'number' => $number,
    'message' => $message,
  ));
}