0

I purchased a number of messages , and followed all the steps
including 1. access token 2. client id and secret id

but the sms never reach the mobile number

iam using this code based on the api documentation

<?php
 require 'Path to Osms ';

 use \Osms\Osms;

 $config = array(
   'token' => 'my token'
  );

 $osms = new Osms($config);

 $senderAddress = "tel:+200000";
$receiverAddress = "tel:+20 my number";
 $message = "Hello World!";
 $senderName = "Optimus Prime";

  $osms->sendSms($senderAddress, $receiverAddress, $message, 
     $senderName);

what happens is that the number of messages at the website keeps decreasing , but the sms never arrives the mobile

K3---rnc
  • 6,717
  • 3
  • 31
  • 46

1 Answers1

0

Use this library instead of what you've used !

More explications are here

Goms
  • 2,424
  • 4
  • 19
  • 36