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. Windows Forms
  4. long sms sending using c#

long sms sending using c#

Scheduled Pinned Locked Moved Windows Forms
csharphelp
10 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.
  • E Offline
    E Offline
    eraser950
    wrote on last edited by
    #1

    Hello i need some help i have developed a sms software on c# ,i have used gsmcommm and pduconverter its working but its just sending 160 char message and i need to send long messsages can any one help me plzzzz Regards

    D M A 3 Replies Last reply
    0
    • E eraser950

      Hello i need some help i have developed a sms software on c# ,i have used gsmcommm and pduconverter its working but its just sending 160 char message and i need to send long messsages can any one help me plzzzz Regards

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You should have found out what SMS stands for first and how it works, Short Message Service. The message limit is 160 characters by specification. You'll have to break up longer messages into multiple 160 character limit messages.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      E M 2 Replies Last reply
      0
      • D Dave Kreskowiak

        You should have found out what SMS stands for first and how it works, Short Message Service. The message limit is 160 characters by specification. You'll have to break up longer messages into multiple 160 character limit messages.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        E Offline
        E Offline
        eraser950
        wrote on last edited by
        #3

        can you plz guide me how can i break up message and send it when i breakup message will reciever get it in one message or in multiple messages?

        D 1 Reply Last reply
        0
        • E eraser950

          can you plz guide me how can i break up message and send it when i breakup message will reciever get it in one message or in multiple messages?

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          You've got to be kidding me?? You mean to tell me that you don't have the skill to get the Length of a string (your message) and how to grab SubStrings of 160 characters in length? If you can't do this, then I highly suggest picking up a beginners book on C# and working through it before you attempt to write another application. This is very basic "Strings 101" stuff you're asking about.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          E 1 Reply Last reply
          0
          • D Dave Kreskowiak

            You've got to be kidding me?? You mean to tell me that you don't have the skill to get the Length of a string (your message) and how to grab SubStrings of 160 characters in length? If you can't do this, then I highly suggest picking up a beginners book on C# and working through it before you attempt to write another application. This is very basic "Strings 101" stuff you're asking about.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008
            But no longer in 2009...

            E Offline
            E Offline
            eraser950
            wrote on last edited by
            #5

            i know how to break up message after 159 char but when i break it in to mutiple messages and send it to any number the reciever recieve it in multiple messages the thing i want is that when i send it the reciever got it in a single message.

            D 1 Reply Last reply
            0
            • E eraser950

              i know how to break up message after 159 char but when i break it in to mutiple messages and send it to any number the reciever recieve it in multiple messages the thing i want is that when i send it the reciever got it in a single message.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              eraser950 wrote:

              i want is that when i send it the reciever got it in a single message.

              You have no control over how the reciever recombines, or more acurately, does NOT recombine them. You cannot force the reciever to put the message back the way you want it. They will get each as a seperate message and there is nothing you can do about it. Thatose are the limitations you chose to tolerate when you chose to use SMS as a communication medium.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008
              But no longer in 2009...

              1 Reply Last reply
              0
              • E eraser950

                Hello i need some help i have developed a sms software on c# ,i have used gsmcommm and pduconverter its working but its just sending 160 char message and i need to send long messsages can any one help me plzzzz Regards

                M Offline
                M Offline
                Michel Godfroid
                wrote on last edited by
                #7

                You can download the technical specification here[^] (registration required) You want to look for PDU mode SMS. Note that concatenated SMS is quite a complex subject ( because the order of delivery of sms messages is not guaranteed, enough information must be included to allow message re-assembly on the receiving side. Your ability to send concatenated SMS will depend on - the library you use for sending messages (don't know the ones you mention) - the ability of the phone on the other end to decode concatenated SMS (most phones do it nowadays) If you want to read up on it before embarking on an adventure, have a read here[^].

                1 Reply Last reply
                0
                • D Dave Kreskowiak

                  You should have found out what SMS stands for first and how it works, Short Message Service. The message limit is 160 characters by specification. You'll have to break up longer messages into multiple 160 character limit messages.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007, 2008
                  But no longer in 2009...

                  M Offline
                  M Offline
                  Michel Godfroid
                  wrote on last edited by
                  #8

                  Back off Dave, you're out of your depth. :doh: http://en.wikipedia.org/wiki/Concatenated_SMS[^]

                  D 1 Reply Last reply
                  0
                  • E eraser950

                    Hello i need some help i have developed a sms software on c# ,i have used gsmcommm and pduconverter its working but its just sending 160 char message and i need to send long messsages can any one help me plzzzz Regards

                    A Offline
                    A Offline
                    Ankur m
                    wrote on last edited by
                    #9

                    Check this: Multipart SMS messaging[^].

                    ..Go Green..

                    1 Reply Last reply
                    0
                    • M Michel Godfroid

                      Back off Dave, you're out of your depth. :doh: http://en.wikipedia.org/wiki/Concatenated_SMS[^]

                      D Offline
                      D Offline
                      Dave Kreskowiak
                      wrote on last edited by
                      #10

                      Maybe, but maybe not: In the cellular phone industry, mobile phones and their networks sometimes support concatenated short message service (or concatenated SMS) :laugh:

                      A guide to posting questions on CodeProject[^]
                      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                           2006, 2007, 2008
                      But no longer in 2009...

                      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