希望使用mvayoo

时间:2016-03-24 06:36:08

标签: asp.net c#-4.0

string no = TextBox3.Text;
string message = TextBox4.Text;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://api.mVaayoo.com/mvaayooapi/MessageCompose?user=sssh@gmail.com:56321&senderID=TEST SMS&receipientno="+no+"&msgtxt=" + message + "&state=4");
HttpWebResponse Resp = (HttpWebResponse)req.GetResponse();
System.IO.StreamReader respStreamReader = new System.IO.StreamReader(Resp.GetResponseStream());
string responseString = respStreamReader.ReadToEnd();
respStreamReader.Close();
Resp.Close();
Response.Write("sent sucessfull....");
Label3.Visible = false;

这是我的短信发送代码...我不知道如何在我的asp应用程序上收到回复短信..谁可以帮助我。提前谢谢....

0 个答案:

没有答案