function sms_send_form_submit in SMS Framework 5
Same name and namespace in other branches
- 6.2 sms.module \sms_send_form_submit()
- 6 sms.module \sms_send_form_submit()
- 7 sms.module \sms_send_form_submit()
Performs a simple send on submit.
File
- ./
sms.module, line 364 - The core of the SMS Framework. Provides gateway managment and API for sending and receiving SMS messages.
Code
function sms_send_form_submit($form_id, $form_values) {
$form_values['number'] = sms_formatter($form_values['number']);
sms_send($form_values['number'], $form_values['message'], $form_values['gateway']);
}