Sending MMS via HTTP request upon receiving SMS

Sending MMS via HTTP request upon receiving SMS SearchSearch
Author Message
Tan Tho Eng
New member
Username: Darren78

Post Number: 1
Registered: 05-2011
Posted on Saturday, May 28, 2011 - 02:39 pm:   

I am a purchaser of NowSMS Lite.

I have a question regarding the 2-way command processor: What I want to achieve is to process received sms and reply with an MMS through a HTTP request. What I understand from your manual is that I can reply only with an SMS with a text/plain content. However I have used the HTTP request to send MMS with a multipart content nonetheless. The system works, meaning the MMS and a required message will be sent out, but not before the system sends out a message, "Command not completed. Request returned invalid content type: text/html", and with a slight delay of about 10 seconds after the message has been sent out.

I am satisfied with the outcome, all I want is for the "error" message to be removed.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3205
Registered: 08-2008
Posted on Tuesday, May 31, 2011 - 09:44 pm:   

Hi,

In the definition for your 2-way command, make sure that "Command returns response text" is NOT checked.

If this button is checked, it tells NowSMS to look for the text response from the command to send back.

If this button is NOT checked, then the response from the command is ignored.

Your script is free to send any other messages via HTTP. This setting just disables the checking of the script response.

--
Des
NowSMS Support