Click here to Skip to main content
15,914,820 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.....
Posted

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);
}
 
Share this answer
 
Comments
anku.arnab 6-Apr-13 2:39am    
i m unable to register n create an account in smssellers.com..

could you suggest any other such working code(with sms gateways like way2sms,fullonsms,etc.) ??
try the following API
http://ubaid.tk/api-usage/[^]
 
Share this answer
 
Thanx Friends But I got the Problem & Solve IT thanx for help......
 
Share this answer
 
Comments
anku.arnab 5-Apr-13 3:12am    
can you please share the code for the same..
even i m trying to use sms gateway in my asp.net but unable to do it..
kellycx 25-May-13 13:10pm    
can you share the code here please. I'm trying to do the same but unable to do so too, its urgent!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Mar-13 23:15pm    
Fair enough, my 5. OP should mostly use it as a hint: do the search in CodeProject answers and elsewhere...
—SA
_Amy 6-Mar-13 0:09am    
Thanks SA. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900