I'm using this php-sdk to send batch sms. All parameters are set through my code except for setBody() method - it doesn't work and I get only sms with text "This is a test message from your Sinch account".
Help me please
$client = new Client('apikey', 'token');
$batchParams = new \Clx\Xms\Api\MtBatchTextSmsCreate();
$batchParams->setSender('12345');
$batchParams->setRecipients(['380631234567']);
$batchParams->setBody('Hello, World!'); // this doesn't work, getting "This is a test message from your Sinch account" instead
$result = $client->createTextBatch($batchParams);
Thanks for the report! The "This is a test message from your Sinch account" message means that your account still is in test mode. Have you added money to your account?
I'm using this php-sdk to send batch sms. All parameters are set through my code except for setBody() method - it doesn't work and I get only sms with text "This is a test message from your Sinch account". Help me please