function messaging_sms_user_destination in Messaging 6
Same name and namespace in other branches
- 6.4 messaging_sms/messaging_sms.module \messaging_sms_user_destination()
- 6.2 messaging_sms/messaging_sms.module \messaging_sms_user_destination()
- 6.3 messaging_sms/messaging_sms.module \messaging_sms_user_destination()
Send mail message to user account
1 string reference to 'messaging_sms_user_destination'
- messaging_sms_messaging in messaging_sms/
messaging_sms.module - Implementation of hook_messaging
File
- messaging_sms/
messaging_sms.module, line 45 - SMS Messsaging using SMS Framework. Messaging method plug-in
Code
function messaging_sms_user_destination($account, $message) {
// Check for active mobile infomation. Simply return it so that the send
// callback has a destination array and access everything.
if (!empty($account->sms_user) && $account->sms_user[0]['status'] == 2) {
return $account->sms_user[0];
}
}