Possible NowSMS responses

Possible NowSMS responses SearchSearch
Author Message
janis klimowicz
New member
Username: Janisk

Post Number: 15
Registered: 03-2012
Posted on Thursday, April 19, 2012 - 11:51 pm:   

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.
--Thanks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3918
Registered: 08-2008
Posted on Friday, April 20, 2012 - 11:13 pm:   

Hi Janis,

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:

http://support.nowsms.com/discus/messages/1/24868.html

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://support.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.

--
Des
NowSMS Support