Receiving SMS Problem | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 10, 2005 ⬆ |
◄ ► |
Author | Message | |||
Neo Unregistered guest |
Hello all. I amd using NowSMS gateway for sending and receiving SMS with a GSM Modem by the following way: In the 2-Way panel i added a command to execute "http://127.0.0.1:xxxx/@@FULLSMS@@" as example, then i developed a receiving program that listens to that port 'xxxx', and receive the FULLSMS from every message received, right? When close the receiving program and open it again, it receives all the old SMSs again, that i think are stored in SMS-IN folder by extension '*.in' That action happened every time i restart my receiver program. Can you help me please? And, Is work right? Thanks. | |||
Neo Unregistered guest |
Hello. Is there any body can help me in that problem | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3977 Registered: 10-2002 |
Hi Neo, Your receiving program needs to return a proper HTTP response. This tells us that the message was received ok. If we don't get this response, then messages will be retried. A basic HTTP OK response looks like this: HTTP/1.0 200 OK Content-type: text/plain Content-length: xxxx (blank line) text "xxxx" refers to the length of the text that is included as the content. You can specify "Content-length: 0" if you don't want to include any content in your reply. Note that any returned content can be sent back as a reply to the SMS if "Command returns response text" is checked. -bn | |||
Neo Unregistered guest |
Thank you very much Bryce. It works good. |