You must Sign In to post a response.
  • Category: ASP.NET

    Get a message to phone after registration

    i have created a registration page in that I kept mobile number field and email field so my question is after completion of registration i need to get message to mobile as well as email
  • #765414
    So basically you need to send sms using right , there are many free sms provider/gateway exist you can use any one of them
    Way2sms, FullOnSMS, 160by2, Site2SMS,,, Freesms8, Sms440, BhokaliSMS
    see below code snippet uses 'FullOnSMS' provider
    public void send()
    HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("" + uid + "&pwd=" + password + "&msg=" + message + "&phone=" + no + "&provider=fullonsms");
    HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
    System.IO.StreamReader respStreamReader = new System.IO.StreamReader(myResp.GetResponseStream());
    string responseString = respStreamReader.ReadToEnd();
    check below snippet for more details

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #765488
    There are many websites that allow sending free SMS to mobile (cell) numbers like Way2sms, FullOnSMS, 160by2, Site2SMS,,, Freesms8, Sms440, BhokaliSMS, etc.

    Below is the sample code..
    SMS.APIType = SMSGateway.Site2SMS;
    SMS.MashapeKey = "<Mashape API Key>";
    SMS.Username = txtNumber.Text.Trim();
    SMS.Password = txtPassword.Text.Trim();
    if (txtRecipientNumber.Text.Trim().IndexOf(",") == -1)
    //Single SMS
    SMS.SendSms(txtRecipientNumber.Text.Trim(), txtMessage.Text.Trim());
    //Multiple SMS
    List<string> numbers = txtRecipientNumber.Text.Trim().Split(',').ToList();
    SMS.SendSms(numbers, txtMessage.Text.Trim());

Sign In to post your comments