This extension helps you to send SMS messages using SMS ConneXion API. You can also get the current balance of your account.
To use this extention you need a SMS ConneXion Licence. If anyone needs a demo of this extension please contact : Simon Mathew , support@celusion.com
Requirements ¶
- cURL.
- Yii 1.1 or above.
Installation ¶
- Copy the smsconnexion folder to your extensions folder (usually in protected/extensions/).
- In configuration, add the following component:
'components' => array(
...
'SMSConneXion' => array(
'class'=>'ext.smsconnexion.SMSConneXion',
'smxUsername'=>'your SMSConneXion user',
'smxPassword'=>'your SMSConneXion password',
'smxSecret'=>'your SMSConneXion Secret Key',
),
...
);
Usage ¶
Send messages to Single User as follows:
> Yii::app() ->SMSConneXion ->sendSMS(array ('to'=>'xxxxxx','message'=>'Hello'));Sending Bulk SMS as follows:
> Yii::app() -> SMSConneXion -> sendSMS(array ('to'=>array ('xxxxxx','yyyyyy'), 'message'=>' Hello '));Check Balance as follows:
> $result = Yii::app() -> SMSConneXion -> getBalance(); > Type of user : $result['user_type'].
> Balance amount : $result['user_balance'].Resources ¶
- If you don't have the license to run the SMS ConneXion module or License Key is Invalid. Contact support@celusion.com .
- SMSConneXion
- Celusion
Nice
Nice one!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.