简体   繁体   English

Nexmo SMS未通过PHP接收

[英]Nexmo SMS is not receiving in PHP

I am using NEXMO API for integrating SMS functionality for my stuff. 我正在使用NEXMO API集成我的东西的SMS功能。 However I am getting the error as "Unroutable message - rejected" I don't understand what's wrong with my source code. 但是,我收到的错误消息为“无法路由的消息-被拒绝”,我不明白源代码有什么问题。 Actually I want to send SMS on Indian as well as Nigerian numbers, and I would like to mention that both numbers are free of DND service. 实际上,我想在印度和尼日利亚号码上发送短信,而且我想提及的是,这两个号码都没有免打扰服务。 Do you have any idea guys which the primary setting is need to do for sending SMS. 您是否有主意才能发送短信的主意? [Currently I have created a test account on NEXMO].Is their any limitations while using test account ? [目前,我已经在NEXMO上创建了一个测试帐户]。使用测试帐户时,它们是否有任何限制?

This might help others if they stumble upon this problem... 如果其他人偶然发现了这个问题,这可能会有所帮助。

If you are using a trial account, you must add test account phone numbers using the API dashboard: 如果您使用的是试用帐户,则必须使用API​​仪表板添加测试帐户的电话号码:

API Settings -> Edit -> Add Number (bottom of page) API设置->编辑->添加号码(页面底部)

Cheers 干杯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM