Forum guidelines
AuthorQuestion
Atul Pote
How to send sms through asp.net using c# to mobile no?
Posted By Atul Pote on 08 May 2013
I am new in asp.net i want to send sms to other mobile no using asp.net using c#. so how could i do it.
plz give me solution.

Thanks,
atul

AuthorReply
Re: How to send sms through asp.net using c# to mobile no?
Posted By Pankaj Pandey on 08 May 2013  
hello

for this you need to get(buy) SMS gatway plug-in.

Or to build a full set-up with multiple server .

Another way to purchase API from any vendor and use it to send sms .

thanks.




Thanks Pankaj Pandey(Cobra)
Re: How to send sms through asp.net using c# to mobile no?
Posted By Anurag Sarkar on 28 May 2013  
http://www.c-sharpcorner.com/Blogs/11790/send-sms-from-Asp-Net-using-way2sms.aspx

PLease check out this blog , download the website create you account on Full On Sms and edit
the CS code by putting the mobile no in uid and pass in password.

uid = "mobileno";

  password = "password";


Thanks


Remember to click "Mark as Answer" on the post, if it helps you.
Re: How to send sms through asp.net using c# to mobile no?
Posted By Raj Kumar on 29 May 2013  
first of all register on way2sms website and use your username and password. In this method you have to pass 4 parameteres way2sms username, password, message, phone number)

 public void sendSMS(string username, string pwd, string message, string Tonumber)  
 {  
   HttpWebRequest Req = (HttpWebRequest)WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" + username+ "&pwd=" + pwd+ "&msg=" + message + "&phone=" + Tonumber+ "&provider=way2sms");  
   HttpWebResponse Resp = (HttpWebResponse)Req.GetResponse();  
   System.IO.StreamReader respStreamReader = new System.IO.StreamReader(Resp.GetResponseStream());  
   string responseString = respStreamReader.ReadToEnd();  
   respStreamReader.Close();  
   Resp.Close();  
 }  

Developer | Consultant | Project Manager | Microsoft MVP | C# MVP
Re: How to send sms through asp.net using c# to mobile no?
Posted By Gabor Szuros on 24 Mar 2014  
Hi Atul! I can suggest to you to try the Ozeki NG SMS Gateway software. You can try it for free. With the help of it's API-s you can integrate it to your system. Check out the c# API example: http://ozekisms.com/index.php?owpn=315&info=c_sharp_sms_example
Re: How to send sms through asp.net using c# to mobile no?
Posted By Joginder Banger on 24 Mar 2014  
a complete solution here you are find try this link for more information check this


  public void send(string uid, string password, string message, string no)
                {
                HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" + uid +"&pwd=" + password + "&msg=" + message + "&phone=" + no + "&provider=fullonsms");
                 
                HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
                System.IO.StreamReader respStreamReader = newSystem.IO.StreamReader(myResp.GetResponseStream());
                string responseString = respStreamReader.ReadToEnd();
                respStreamReader.Close();
                myResp.Close();
                }
    protected void btnSendSms_Click(object sender, EventArgs e)
    {
        if (Page.IsValid)
        {
            string yourmobilenumber = "yourmoblienumber";
            string yourpassword = "yourpassword";
            send(yourmobilenumber, yourpassword, txtMessageBody.Text, txtRecipient.Text);
           }}}

Mark accept it's really help you. ?Nothing is Impossible ?
Re: How to send sms through asp.net using c# to mobile no?
Posted By Malik Asghar on 19 Aug 2014  
hi friends hope your are fine..
i am just asking that is there any free API available in Dot Net for sending sms to mobile number...

Re: How to send sms through asp.net using c# to mobile no?
Posted By Abhinandan Nimsarkar on 12 Sep 2015  
Exception Details: System.Net.WebException: The remote server returned an error: (404) Not Found.
Re: How to send sms through asp.net using c# to mobile no?
Posted By Sanket Gaikwad on 07 Dec 2015  
Thanks 2 Ol...!
Re: How to send sms through asp.net using c# to mobile no?
Posted By Romin Vahora on 29 Feb 2016  
it is not working . plz another way to send sms way2sms site..
Re: How to send sms through asp.net using c# to mobile no?
Posted By Amit Kumar on 22 Apr 2016  
Hi Dear,
Please follow the below link.
 
http://www.aspsnippets.com/Articles/How-to-send-free-SMS-from-ASPNet-application-to-Mobile.aspx
 
http://www.aspsnippets.com/Articles/Send-free-and-bulk-SMS-to-mobile-numbers-using-Way2SMS-and-FullOnSMS-accounts-using-ASPNet.aspx
 
Regards,
Amit

Download Free eBooks

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.