|Possible NowSMS responses||Search|
|SMS & MMS Technical Forum » NowSMS Lite (Product Support Only) » Possible NowSMS responses||« Previous || Next »|
Post Number: 15
When I send a text message, I receive a response from NowSMS with: "Message Submitted", "Continue", "Message id:xxx", and "Recipient" -- Is there a list somewhere of all possible responses? I'll need to to capture responses in my php program, including error responses to know if sms's have been successfully sent or not, or error responses.
|Des - NowSMS Support
Post Number: 3918
There is a PHP script around here somewhere that will parse the values (MessageID and Recipient) from the HTTP response.
For some reason, I always have difficulty locating it as a reference though. I'm not sure why it doesn't come up in search, but here it is:
The HTTP response value could also be checked, but if "MessageID=" is not present, the message was not actually accepted.
Note that this only means the message was accepted by NowSMS and queued, it does not mean that it was delivered.
The best thread on processing delivery reports is probably this one: http://www.nowsms.com/discus/messages/1/24078.html
However, you're using that Multitech CDMA modem, right? In one of your earlier logs, I noticed that something was unusual about the delivery report format we are receiving from the modem. There was an extra parameter that was going to prevent us from correctly correlating the message. I need to have one of our engineers take a closer look to see if they can make sense of that delivery report format.