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. how to recieve sms in c#.net

how to recieve sms in c#.net

Scheduled Pinned Locked Moved C#
csharphelptutorial
4 Posts 3 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
    shabi uz zaman
    wrote on last edited by
    #1

    i am devloping the application in which i m recieving the sms from the mobilei m devloping application in c# anybody can help me.

    C 1 Reply Last reply
    0
    • S shabi uz zaman

      i am devloping the application in which i m recieving the sms from the mobilei m devloping application in c# anybody can help me.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The way to receive SMS, is to be connected to the mobile phone network, and have a phone number. Have you accepted this job from a project site, or have you just decided to do it, without doing any research in to feasibility ? There are libraries for sending SMS via paid gateways, I don't see how you can receive SMS on a computer that is not connected to the phone network. How can it be addressed to you if you don't have a number ?

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      S 1 Reply Last reply
      0
      • C Christian Graus

        The way to receive SMS, is to be connected to the mobile phone network, and have a phone number. Have you accepted this job from a project site, or have you just decided to do it, without doing any research in to feasibility ? There are libraries for sending SMS via paid gateways, I don't see how you can receive SMS on a computer that is not connected to the phone network. How can it be addressed to you if you don't have a number ?

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        S Offline
        S Offline
        shabi uz zaman
        wrote on last edited by
        #3

        i have done all the task ,it is sending the message but not receiving the message i have written the following event for receiving but it is not working

        private void oGsmModem_NewMessageReceived(ATSMS.NewMessageReceivedEventArgs e)
        {
        txtMsg.Text = "Message from " + e.MSISDN + ". Message - " + e.TextMessage + System.Environment.NewLine;
        }

        E 1 Reply Last reply
        0
        • S shabi uz zaman

          i have done all the task ,it is sending the message but not receiving the message i have written the following event for receiving but it is not working

          private void oGsmModem_NewMessageReceived(ATSMS.NewMessageReceivedEventArgs e)
          {
          txtMsg.Text = "Message from " + e.MSISDN + ". Message - " + e.TextMessage + System.Environment.NewLine;
          }

          E Offline
          E Offline
          ESTAN
          wrote on last edited by
          #4

          It is possible that the event never get triggered. What is connected to your computer in order to receive/send messages? I am using a GSM modem where i can use only AT commands. There is an AT command available that pass me an event when a message is received. Provide more information about your project.

          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