send free sms using c#

Tags | send SMS using asp net c# code, sending SMS using (c#) through http, how to send SMS through using c# to mobile no, send free SMS using c#, send free SMS using c# mvaayoo SMS API, send SMS to mobile using c#

How to send free SMS from ASP.Net application to Mobile

This article demonstrates, how to send free SMS using c# mvaayoo SMS API. Find the send SMS using asp net c# code below:-

using System;
using System.IO;
using System.Net;

public partial class _Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
            string strUrl = " SMS&receipientno=800000000&msgtxt=This is a test from mVaayoo API&state=4";
            WebRequest request = HttpWebRequest.Create(strUrl);
            HttpWebResponse response = (HttpWebResponse)request.GetResponse();
            Stream s = (Stream)response.GetResponseStream();
            StreamReader readStream = new StreamReader(s);
            string dataString = readStream.ReadToEnd();
        catch (Exception ex)

Download Source Code

Note: You need to register on In mvaayoo, they provide the API code for ASP.Net, ASP, VB, and PHP too. You need to substitute the username password and sender id in the respective places in the URL. You need to also specify the mobile number too in the URL. If you want to send the SMS to multiple numbers then you need to provide those numbers in comma-separated format.

Did you find this post useful? I hope you liked this article. Please share with me your valuable suggestions and feedback.



Please enter your comment!
Please enter your name here