Employers - Post Free Jobs
Forum guidelines
  • Home
  • »
  • .NET 5.0
  • »
  • How to send sms through asp.net using c# to mobile no?
AuthorQuestion
How to send sms through asp.net using c# to mobile no?
Posted 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 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 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 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 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 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);
           }}}

jsb
Employers - Post Free Jobs

SPONSORED BY

Offshore Software and Database 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.