如何使用c#使用Nexmo发送短信 [英] How do I send SMS using Nexmo using c#

查看:130
本文介绍了如何使用c#使用Nexmo发送短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我通过我的c#应用程序连接到nexmo sms api时,任何人都可以帮我解决问题,

我试过 https://rest.nexmo.com/sms/xml ?api_key = 41d54ab4& api_secret = 10e02293& from = 9496432707& to = 9496432707& text = T%a%n%j%u + vu [ ^ ]



我总是收到此错误消息



< MT-提交 - 响应> 
< messages count =1>
< message>
< to> 9496432707< / to>
< status> 6< / status>
< errortext> Unroutable消息 - 被拒绝< / errortext>
< / message> < /邮件>
< / mt-submission-response>



这实际上有什么问题?

解决方案

要求帮助的显而易见的地方是 https://www.nexmo.com/support/ [ ^ ]。


根据 Nexmo交付代码,你可以查看2件事:



避免状态6 - 反垃圾邮件拒绝,阅读 Nexmo SMS可传递性指南和国家/地区特定限制这里





To避免状态11 - 无法清除消息 - 被拒绝,您应该在help.nexmo.com创建一个票证或发送电子邮件到support@nexmo.com进行相应的路由调整。

Can any one please help me to get resolved a problem when I connect to nexmo sms api through my c# application,
I tried with https://rest.nexmo.com/sms/xml?api_key=41d54ab4&api_secret=10e02293&from=9496432707&to=9496432707&text=T%a%n%j%u+vu[^]

I always get this error message

 <mt-submission-response>    
 <messages count="1">     
    <message>           
  <to>9496432707</to>       
      <status>6</status>   
          <errortext>Unroutable message - rejected</errortext>    
     </message>     </messages> 
</mt-submission-response> 


What is actually wrong with this?

解决方案

The obvious place to ask for help would be https://www.nexmo.com/support/[^].


According to Nexmo Delivery Codes, you can check 2 things:

To avoid Status 6 - Anti Spam Rejection, read Nexmo SMS Deliverability Guide and Country specific restrictions here


To avoid Status 11 - Unroutable message - rejected, you should create a ticket at help.nexmo.com or send an email to support@nexmo.com to make corresponding routing adjustments.


这篇关于如何使用c#使用Nexmo发送短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆