Sending SMS using HQSMS API in asp.net
To use HQSMS API you need to 1st Register at HQSMS. They will provide you some credit for testing your app. But to send more sms you have to buy credit from them. Below is the code for sending SMS to a user in asp.net. here I'm using System.Net library from asp.net and then obviously HQSMS APIs. protected void sendButton_Click(object sender, EventArgs e) { HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(new Uri("http://www.hqsms.com/api/send.do?username=username&password=md5_password&to=to_phoneNo&message=Please Work!&from=HQRoute")); HttpWebResponse response = (HttpWebResponse)req.GetResponse(); System.IO.StreamReader strreader = new System.IO.StreamReader(response.GetResponseStream()); string deliver = strreader.ReadToEnd(); ...
words are very close to the heart :)
ReplyDeletenice choice of song...
Khub bhalo.. thanks a lot...
ReplyDeleteaaj pochishe boishaakh,... khujte khujte ekhane asha...
please visit me here...
www.tanbangla.blogspot.com
you are welcome....apnar blog ey dhuke bhalo laglo...keep it up....
ReplyDeleteami mouthorgan er jonno ae gaan tar notations chai .. kothau pachi na :( .. kau ki help korte parbe amake .. khub upokrito hobo.. thanks in advance ..
ReplyDeleteRanbir Bhattacharjee
amar kase notation gulo nai. tobe ami try kore dekhbo. ami amar senior ek bhai k ask korbo. dekhi pele janabo apnake.
ReplyDelete