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
  1. Home
  2. General Programming
  3. C#
  4. send SMS in C#

send SMS in C#

Scheduled Pinned Locked Moved C#
csharpquestion
4 Posts 4 Posters 0 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.
  • S Offline
    S Offline
    sina rahimzadeh
    wrote on last edited by
    #1

    Hello everybody How can i send SMS in C#

    L Sander RosselS T 3 Replies Last reply
    0
    • S sina rahimzadeh

      Hello everybody How can i send SMS in C#

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Putting that question into Google will find you lots of suggestions.

      speaking as ...

      1 Reply Last reply
      0
      • S sina rahimzadeh

        Hello everybody How can i send SMS in C#

        Sander RosselS Offline
        Sander RosselS Offline
        Sander Rossel
        wrote on last edited by
        #3

        Actually looking just on CP[^] gives quite some results (in various languages and methods). Some of my first finds: Send and Read SMS through a GSM Modem using AT Commands[^] How to Send SMS Messages from C# using an SQL Database[^] SMS Service[^] I'm sure you can find more...

        It's an OO world.

        public class Naerling : Lazy<Person>{
        public void DoWork(){ throw new NotImplementedException(); }
        }

        1 Reply Last reply
        0
        • S sina rahimzadeh

          Hello everybody How can i send SMS in C#

          T Offline
          T Offline
          taha bahraminezhad Jooneghani
          wrote on last edited by
          #4

          as you live in iran same as me, you can use some company web services to send sms via your web application. if you buy a web service , they give you a uri of service, and you just need to add web reference to your reference folder, and in your code, you just need to make a new method of that, and pass some param to web service. this my code:

          var b = new ArrayOfString();
          b.Add("با تشکر از شما جهت ایجاد اشتراک در سایت هلال. کد اشتراک :" + txtSubsCode.Text + "از این پس میتوانید جهت سفارش غذا با شماره:4242998 تماس حاصل نمایید.\n" +"لیست غدایی ما در بخش منوی سایت موجود میباشد");
          var c = new ArrayOfString();
          c.Add(submit.MobileNo);
          var aaa = new sms.sendSmsWebServiceSoapClient();
          aaa.sendSms("test", "password", "username", b, c, 1, "30008672");

          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