Mms/sms command line

Mms/sms command line SearchSearch
Author Message
Rafael W
Unregistered guest
Posted on Friday, November 19, 2004 - 03:11 am:   

hi,
i have read about the sms command line to use in the nowsms, may i know more about all the commands and also about mms command line if its available

thank you
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3786
Registered: 10-2002
Posted on Sunday, December 05, 2004 - 10:20 pm:   

Hi Rafael,

You're probably referring to the command line interface example in the following thread:

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

Basically, what that script does is build a web request URL, and connects to the URL. The URL is a command to NowSMS for sending a text message.

So in this particular script, if you look at the URL that is built, it is setting the following parameters:

PhoneNumber=list of phone numbers to receive message
User=user account on NowSMS
Password=password for user account
Text=text message to be sent

You could modify that script to generate paramters to send other types of messages.

There are some examples in the documentation, and also this list of parameters that can be sent:

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

Now, when you talk about MMS, however, there is another consideration. MMS involves the posting of content objects to the server.

So from the command line, we can only send MMS content objects if they reside on a web server. NowSMS then fetches the files from the web server in order to build the message and send it.

There is an example URL for this type of MMS sending at the following link (toward the bottom):

http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages_URL.htm