dongzipu7517 2013-09-16 10:56
浏览 109
已采纳

Twilio SMS消息未送达我的印度手机号码

I have downloaded the Twilio API (PHP) and I was able to invoke the sms_messages->create successfully. I have read the documentation more than three times and checked here also. However my messages are not getting delivered to my cellphone.

My PHP code looks like this.

    <?php
    require_once('Services/Twilio.php');
    $sid = "AC02c3c69xxxxxxxxxxxxxxxxxxxxxxx";
    $token = "f3c343716xxxxxxxxxxxxxxxxxxxxx";
    $client = new Services_Twilio($sid, $token);
    $message = $client->account->sms_messages->create("+1404xxxxxxxxx","+919842xxxxxx", "hello good evening", array());
    echo $message->sid;

The response is given below.

    SMac841db0f52100f66c754974037b7960
    SMd32abd4234142f3662bcaec6dc8722be
    SMb75a7e89643d9d515f48a031fb480f3c

The above code returns the message ID, but still now I have not received the message.

FYI - The message is to be delivered to India mobile and the parameter I have used is +91<10 digit mobile number>

Did I go wrong somewhere? Is my message queued or scheduled for later delivery?

  • 写回答

4条回答 默认 最新

  • dsfdfd1211 2013-09-16 14:46
    关注

    Your code looks great! Unfortunately delivery to Indian mobile numbers from Twilio is tricky due to the high amounts of spam messages delivered to Indian mobile devices, and government regulations about what messages you can send and when. There is a handy guide here, that will help you ensure your messages get delivered to Indian phone numbers.

    https://www.twilio.com/help/faq/sms/are-there-limitations-on-sending-sms-messages-to-indian-mobile-devices

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?