Merge pull request #362 from egogo-nl/develop
Bugfix: Message needs to be encoded before sending to receive correct…
This commit is contained in:
commit
9a271e06a1
|
@ -46,6 +46,7 @@ class Spryng extends Core {
|
||||||
|
|
||||||
public function sendSMS($message) {
|
public function sendSMS($message) {
|
||||||
$recipients = implode(',', $this->recipients);
|
$recipients = implode(',', $this->recipients);
|
||||||
|
$message = urlencode($message);
|
||||||
|
|
||||||
$result = $this->_auth_https_post('http://www.spryng.nl', '/SyncTextService',
|
$result = $this->_auth_https_post('http://www.spryng.nl', '/SyncTextService',
|
||||||
'?OPERATION=send' .
|
'?OPERATION=send' .
|
||||||
|
|
Loading…
Reference in New Issue