Warning: Undefined array key "msg" in /home/kksaryyu/public_html/common/top-header.php on line 51

Warning: Undefined array key "msg" in /home/kksaryyu/public_html/common/top-header.php on line 56

Warning: Undefined array key "success" in /home/kksaryyu/public_html/common/top-header.php on line 61
          Register Now  Support - Call Us : 09553760444  
Forgot Password Demo Video 

Warning: Undefined array key "err" in /home/kksaryyu/public_html/common/textsourse.php on line 37

Warning: Undefined array key "err" in /home/kksaryyu/public_html/common/textsourse.php on line 40

Warning: Undefined array key "suc" in /home/kksaryyu/public_html/common/textsourse.php on line 43
Test Our Service | Enter Mobile Number   +91     

Resources - Send SMS API library


Code to send SMS in ASP.NET


Code Sample:
 string user = "XXXXXX";
 string Password = "XXXXXX";
 string Msg = "test";
 string OPTINS = "XXXXXX";
 string MobileNumber="XXXXXXXX";
 string type="3";
 string strUrl =
"https://www.bulksmsgateway.in/sendmessage.php?user=" + user +"&password=" +Password+ "&message=" + Msg + "&sender=" + OPTINS + "&mobile=" +
MobileNumber + "&type=" + 3;

System.Net.WebRequest request = System.Net.WebRequest.Create(strUrl);

HttpWebResponse response = (HttpWebResponse)request.GetResponse(); 

Stream s = (Stream)response.GetResponseStream();

StreamReader readStream = new StreamReader( s );

string dataString = readStream.ReadToEnd();

response.Close();

s.Close();

readStream.Close();

Response.Write("Sent");


Please note that some of the above code has been supplied to Bulk SMS Gateway 
by clients. As such, accuracy is not guaranteed by Bulk SMS Gateway.

Bulk SMS Service All Over India