#

# Send SMS by command line

# Syntax:

# SMSDeliverer.exe [/option1 <arg1> <arg2> ...][/Option2 <arg1> <arg2> ...] ...

Description: All options begin with '/'. They are case insensitive. if one of parameters includes space it should be within double quotations.

Available Command Line Options

/Start

/Stop

/Exit

/Compose

/Batchsend

/Queue

/Flash

/Prior

/Start : Start sending and receiving SMS
Example: SMSDeliverer.exe /start

/Stop : Stop sending and receiving SMS
Example: SMSDeliverer.exe /stop

/Exit: Exit application
Example: SMSDeliverer.exe /exit

/Compose <PhoneNumber>|<PhoneListFile> <Message>|<Message File> Meaning: Compose new SMS to the outbox.
Note: contains list of phone numbers, one number per line.

# Send SMS to a phone number.

SMSDeliverer.exe /Compose 8201329123456 "Hello World"

# Send SMS to a list of phone numbers stored in a text file.

SMSDeliverer.exe /Compose c:\phonelist.txt "Hello World"

# Send to a particular phone number with content stored in a text file.

SMSDeliverer.exe /Compose 8201329123456 c:\smscontent.txt

# Send to a list of phone numbers with content stored in a text file.

SMSDeliverer.exe /Compose c:\PhoneNum.txt c:\content.txt /Queue <n>

Meaning: Specify which queue to go, where n is from 0-5.

# Works with /Compose and /Batchsend option.

Compose a single SMS and put it into queue

  • SMSDeliverer.exe /Compose 8201329123456 "Hello World." /Queue 0

  • Send message from a CSV file and specify priority and flash.

    SMSDeliverer.exe /Batchsend C:\Outbox.csv /Queue 0 /flash /prior

    *Note: please checked 'option->queue->enable queues at outbox' before you use this feaure. *

# Send SMS from a CSV file

/Batchsend <csvfilename>

Example: SMSDeliverer.exe /Bacthsend c:\phonelistandmessages.csv
Note: There are two columns in the CSV file. First is for phone number and second is for message content. 
<Message> argument : If message content is passed directly in the argument, these characters need to be encoded:
" Double Quote -> //22
LF Line Feed -> //0A
CR Carriage Return -> //0D