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.