Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Sending Sms to Mobile from Asp.net website

Sending Sms to Mobile from Asp.net website

Scheduled Pinned Locked Moved .NET (Core and Framework)
asp-nethelpcsharpcom
3 Posts 3 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manish m meshram
    wrote on last edited by
    #1

    I Download code sample from codeproject site. For Sending sms from aspnet website. but it not working Can U help me I Used following code. try { SmsTest.net.webservicex.www.SendSMS smsIndia= new SmsTest.net.webservicex.www.SendSMS(); SmsTest.com.webservicex.www.SendSMSWorld smsWorld = new SmsTest.com.webservicex.www.SendSMSWorld(); if(rdoType.SelectedValue == "1") smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(), txtEmailId.Text.Trim(), txtMessage.Text); else smsWorld.sendSMS(txtEmailId.Text.Trim(), txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(), txtMessage.Text); lblMessage.Visible = true; lblMessage.Text="Message Send Succesfully"; } catch(Exception ex) { lblMessage.Visible = true; lblMessage.Text="Error in Sending message"+ex.ToString(); }

    T H 2 Replies Last reply
    0
    • M manish m meshram

      I Download code sample from codeproject site. For Sending sms from aspnet website. but it not working Can U help me I Used following code. try { SmsTest.net.webservicex.www.SendSMS smsIndia= new SmsTest.net.webservicex.www.SendSMS(); SmsTest.com.webservicex.www.SendSMSWorld smsWorld = new SmsTest.com.webservicex.www.SendSMSWorld(); if(rdoType.SelectedValue == "1") smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(), txtEmailId.Text.Trim(), txtMessage.Text); else smsWorld.sendSMS(txtEmailId.Text.Trim(), txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(), txtMessage.Text); lblMessage.Visible = true; lblMessage.Text="Message Send Succesfully"; } catch(Exception ex) { lblMessage.Visible = true; lblMessage.Text="Error in Sending message"+ex.ToString(); }

      T Offline
      T Offline
      thaer1984
      wrote on last edited by
      #2

      thaer

      1 Reply Last reply
      0
      • M manish m meshram

        I Download code sample from codeproject site. For Sending sms from aspnet website. but it not working Can U help me I Used following code. try { SmsTest.net.webservicex.www.SendSMS smsIndia= new SmsTest.net.webservicex.www.SendSMS(); SmsTest.com.webservicex.www.SendSMSWorld smsWorld = new SmsTest.com.webservicex.www.SendSMSWorld(); if(rdoType.SelectedValue == "1") smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(), txtEmailId.Text.Trim(), txtMessage.Text); else smsWorld.sendSMS(txtEmailId.Text.Trim(), txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(), txtMessage.Text); lblMessage.Visible = true; lblMessage.Text="Message Send Succesfully"; } catch(Exception ex) { lblMessage.Visible = true; lblMessage.Text="Error in Sending message"+ex.ToString(); }

        H Offline
        H Offline
        harmeetonnet
        wrote on last edited by
        #3

        Hi all... Did anyone got solution for this problem.... Are you able to send sms using this code??

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups