$response = $client->sms()->send(
new \Vonage\SMS\Message\SMS("+919867468642", BRAND_NAME, 'A text message sent using the Nexmo SMS API') error in this line on BRAND_NAME
);
$message = $response->current();
if ($message->getStatus() == 0) {
echo "The message was sent successfully\n";
} else {
echo "The message failed with status: " . $message->getStatus() . "\n";
}
$response = $client->sms()->send( new \Vonage\SMS\Message\SMS("+919867468642", BRAND_NAME, 'A text message sent using the Nexmo SMS API') error in this line on BRAND_NAME );