Search code examples
laravel-4vonage

special character in message are encoded when it's delivered


I'm using Laravel-4-Nexmo package to send sms but the message is encoded on delivery .

$receiverNumber = "xxxxxxxxxxx"
$message       = "hi from nexmo ? ";
$options        = array( 'status-report-req'  => 1 );

$Nexmo = Nexmo::sendSMS('me', $receiverNumber , $message , $options);

and received message looks like this :

hi+from+nexmo+%3F+

I would like to receive as

hi from nexmo ? 

I look forward to see what could be the solution


Solution

  • I do not know what was wrong with my code above, and I decided to use similar package and it works now. you can find the package here https://github.com/Artistan/nexmo