diff --git a/readme.md b/readme.md index e9952ce..9c52b0c 100644 --- a/readme.md +++ b/readme.md @@ -210,7 +210,7 @@ echo $status = $sender->send(); | OnnoRokomSMS | userName, userPassword, type, maskName, campaignName | - | Done | not tested yet in live | - | | QuickSms | api_key, senderid, type,scheduledDateTime | - | Done | not tested yet in live | - | | RedmoITSms | api_token, sender_id | - | Support closed | - | -| RedmoITSms | api_token, sender_id | - | Support closed | - | +| SendMySms | user, closed | - | Done | tested in live | | SmartLabSMS | user, password, sender | - | Done | - | - | | Sms4BD | publickey, privatekey, type,sender, delay | - | Done | - | - | | SmsBangladesh | user, password, from | - | Done | - | - | diff --git a/src/Provider/SendMySms.php b/src/Provider/SendMySms.php index 481f6b8..daf1419 100644 --- a/src/Provider/SendMySms.php +++ b/src/Provider/SendMySms.php @@ -1,6 +1,6 @@ $text, ]; - if (is_array($number)) { - // $query['to'] = ['01733499574', '01750840217']; - } - - - $requestObject = new Request($this->apiEndpoint, $query, $queue, [], $queueName, $tries, $backoff); $requestObject->setFormParams($query); $response = $requestObject->post(); @@ -84,7 +77,7 @@ public function errorException() throw new ParameterException('user key is absent in configuration'); } if (!array_key_exists('key', $this->senderObject->getConfig())) { - throw new ParameterException('key key is absent in configuration'); + throw new ParameterException('key is absent in configuration'); } }