SMS不能在特定的手机上发送..但是代码可以成功执行 [英] SMS not deliver on a perticular mobile .. but code get successfully executed

查看:68
本文介绍了SMS不能在特定的手机上发送..但是代码可以成功执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写以下代码来发送SMS,并在引用中添加SMSClientLibrary ...,但短信无法传递..pls给了我一些建议.
-------------------------------------------------- ------------------

I am writing a following code to send an SMS and in references add SMSClientLibrary...but sms not deliver..pls give me some suggetion.
--------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SMSClientLib;
using System.Net;

namespace Send_SMS
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void buttonSend_Click(object sender, EventArgs e)
        {
            string status = "";
            //CookieContainer cookie=

            CookieContainer cookie = Login.Connect(textBoxID.Text, textBoxPassword.Text, out status);
            string[] siteParameters = Login.GetSiteParameters(cookie);
            string messgeSentResult = SendSMS.Send_Processing(textBoxSendTo.Text, richTextBox1.Text, cookie, siteParameters);
            MessageBox.Show("Msg sent successfully..");
        }
    }
}

推荐答案

您使短信未在特定的移动设备上投放,但代码已成功执行"


特殊的移动方式您的代码会在其他手机上执行吗?

如果是,则该特定手机已被DND激活,并且您的SMS服务无法在DND激活的手机nO上发送消息.


谢谢
灰烬
You subjected "SMS not deliver on a perticular mobile .. but code get successfully executed"


Particular mobile means ?? Will your code is executing for other mobile no??

If yes then That particular mobile is DND Activated and your SMS service is not able to send messages on DND Activated Mobile nOs.


Thanks
Ashish


这篇关于SMS不能在特定的手机上发送..但是代码可以成功执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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