Processing recieved MMS to send SMS? | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through April 05, 2007 ⬆ |
◄ ► |
Author | Message | |||
David Herzog New member Username: Davidherzog Post Number: 1 Registered: 01-2007 |
I want to send a response SMS, when I recieve a MMS. Did I understand right that there is no simple function included in NowSMS to process MMS in such a way? What is the simplest way to do this? I've had the idea to search the sender's phone number with PHP in the .hdr file and send the SMS by calling the URL. Should that be possible? | |||
Malcolm - Now Support Moderator Username: Malcolm Post Number: 138 Registered: 12-2006 |
Hi David, There is a recent update that includes a feature where received MMS messages can be posted to a PHP script. This is described in the following thread: http://support.nowsms.com/discus/messages/485/18694.html However, when you use this functionality, all it does is post the content of the MMS message to the PHP script. It does not provide automated support for sending an SMS reply ... so you would need to initiate a separate connection to NowSMS to trigger an SMS reply, the same as you would if you were processing the MMS-IN files directly. If you are processing the MMS-IN files directly, then searching for the sender's phone number in the .HDR file is what I would recommend. As for how to send back the SMS reply, since you're working in PHP, you could use the sendsms.php script shown in the following thread: http://support.nowsms.com/discus/messages/1/867.html Or, I suppose you could use the command line interface described at http://www.nowsms.com/support/bulletins/tb-nowsms-008.htm. One other suggestion ... if you are processing the MMS-IN files directly, you can configure NowSMS to call an EXE every time an MMS is received (so that you don't have to scan). This is described in the following thread: http://support.nowsms.com/discus/messages/485/11121.html -- Malcolm Now Wireless Support |