You must Sign In to post a response.
  • Category: Visual Studio

    How To Send SMS in c# application

    Are you looking for a way to Send SMS in c# application ? then read this thread to know how to do it

    I need to send sms via c# windows application. it is possible ? if possible how to send sms in c# windows application.
  • #746456
    There are many ways you can send SMS. By registering with SMS service provider o by registering with third party service provider like way2sms etc. please refer below articles for bot the samples,

    Asheej T K

  • #746457
    Hai Manoj,
    Sending the SMS can be done by using the API.
    There are few API which are paid and few are free but they have limitations of sending the SMS.
    Below are the links of few API in which few are free and few are Paid.
    So you can go through them, register to their website and then use the code:

    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • #746460
    Here is a smaple code which might give you an idea for implementation

    private void Send_Click(
    object sender, System.EventArgs e)
    { smsIndia=
    new; smsWorld =
    if(rdoType.SelectedValue == "1")
    txtEmailId.Text.Trim(), txtMessage.Text);
    txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(),
    lblMessage.Visible = true;
    lblMessage.Text="Message Send Succesfully";
    catch(Exception ex)
    lblMessage.Visible = true;
    lblMessage.Text="Error in Sending message"+ex.ToString();

    private void rdoType_SelectedIndexChanged(
    object sender, System.EventArgs e)
    if(rdoType.SelectedValue =="1")
    txtCountryCode.Enabled = false;
    txtCountryCode.Enabled = false;


    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #746466
    Sending sms need a sms gateway preferably a free gateway which will allow us to send text messages.
    There are some sms gateway provider like way2sms which support us with a free sms services.
    see below link in which with the help if 'SMSClientLibrary.dll' library we can send sms

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

  • #746470

    I can also recommend you the Ozeki's C# api. We're using their software without any problem since years.
    I found a video guide for you:

    I hope this is helpful!

  • Sign In to post your comments