You are here

function messaging_sms_send_msg in Messaging 6.3

Same name and namespace in other branches
  1. 5 messaging_sms/messaging_sms.module \messaging_sms_send_msg()
  2. 6.4 messaging_sms/messaging_sms.module \messaging_sms_send_msg()
  3. 6 messaging_sms/messaging_sms.module \messaging_sms_send_msg()
  4. 6.2 messaging_sms/messaging_sms.module \messaging_sms_send_msg()

Send SMS message using the default gateway

This is just a wrapper for sms_send()

Parameters

$destination: Mobile phone number

1 string reference to 'messaging_sms_send_msg'
messaging_sms_messaging in messaging_sms/messaging_sms.module
Implementation of hook_messaging

File

messaging_sms/messaging_sms.module, line 60
SMS Messsaging using SMS Framework. Messaging method plug-in

Code

function messaging_sms_send_msg($destination, $message, $params = array()) {
  $content = $message
    ->render('sms');
  $text = messaging_text_build($content, ' ');
  return sms_send($destination, $text, $params);
}