> I sent SM using php-admin/sendsms.php, but didn't gave any mobile number > (receiver). Even then /cgi-bin/sendsms gave following response (including > header) > > Sending the SMS Text message "Testing. Shridhar Raju" to the phone ... > > HTTP/1.0 202 Foo > > Content-Length: 5 > > Content-type: text/html > > Pragma: no-cache > > Cache-Control: no-cache > > Sent. > > SM failed as no receiver was given. Is it possible to know about the failed > SM from /cgi-bin/sendsms response.
Shridhar is right, when you URL is addressed without the "to=" parameter we get a code 400 Bad Request returned. When we send an empty to, like "...&to=&text=test.." then we get a code 200 Success with the "Sent" in body. I don't think it is reasonable to return a success if there is no receiver number given?! We should make the HTTP return codes here more semantical, IMO. Other opionions?! Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG M�nsterstr. 248 40470 D�sseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are
