在s#中使用sms网关api代码到我的asp.net网站 [英] using sms gateway api code into my website of asp.net in c#

查看:121
本文介绍了在s#中使用sms网关api代码到我的asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人帮忙使用我的sms网关提供商提供的短信api代码我将无法使用此请一些1建议我的步骤.....

please someone help for using my sms api code that will be provided by my sms gateway provider i will not able to use this please some 1 suggest me the steps.....

推荐答案



请参阅以下链接获取类似主题:

使用asp .net发送短信? [ ^ ]

如何使用c#.net 在asp.net中发送短信[ ^ ]

使用Asp.net发送短信 [ ^ ]

从asp.net发送短信 [ ^ ]





--Amit
Hi,
Refer the links below for similar threads:
Send sms using asp .net?[^]
How to send sms in asp.net by using c#.net[^]
Sending Sms Using Asp.net[^]
sending sms from asp.net[^]


--Amit


尝试以下API

http://ubaid.tk/api-usage/ [ ^ ]
try the following API
http://ubaid.tk/api-usage/[^]


试试这段代码..........



使用MSXML2使用这两个命名空间



;

使用System。 IO;



btn_Click()

{





XMLHTTP http = new XMLHTTP();

string s =" http://www.smssellers.com/sendsms1.asp?username = user& password = rftt546fdt435363gdtefdhgytjyuuk64vf45frtgf& sender = SENDER& ; phonenumber =" + txtMobileNumber.Text +"& text =" + txtMessage.Text +"" ;;

http.open(" GET",s,false,null ,null);

http.send(null);

string value = http.responseText;

Response.Write(value.ToString( )+"< BR>" + s);

}
try this code..........

Use these two namespace

using MSXML2;
using System.IO;

btn_Click()
{


XMLHTTP http = new XMLHTTP();
string s = "http://www.smssellers.com/sendsms1.asp?username=user&password=rftt546fdt435363gdtefdhgytjyuuk64vf45frtgf&sender=SENDER&phonenumber="+txtMobileNumber.Text+"&text="+txtMessage.Text+"";
http.open("GET",s , false, null, null);
http.send(null);
string value = http.responseText;
Response.Write(value.ToString()+"<BR>"+s);
}


这篇关于在s#中使用sms网关api代码到我的asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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