Bugfix: Message needs to be encoded before sending to receive correct SMS message
parent
42c6c1c15c
commit
5e0b2ac00b
|
@ -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