sms [options] <command> [<message>]
Display help.
The destination of the SMS. This option is required when sending an SMS, and ignored otherwise.
Scripts that are received are stored in C:\shared\fshellN.script (and perlN.pl) while they are being executed. By default they are deleted when the script completes. Specify this option to not delete them - useful if you need to debug or examine a script.
A match string to limit the numbers from which shebang messages will be processed. Shebang messages from numbers that do not match will be discarded. Supports TDesC::Match
style wildcards. Can be specified more than once.
The action to perform.
Send an SMS.
Receive, intercept and execute all SMSs that start with #!fshell
or #!perl
.
The text to send. If not specified, send
will read from STDIN
. Any further arguments or options will be coalesced into this one. [string]
Send or receive text messages.
The send functionality simply sends a text message to the specified mobile phone number. The receive functionality is intended to allow the handset it's running on to be remotely controlled. Any SMS that is received which started with #!fshell
or #!perl
is intercepted from the user's messaging inbox and instead is executed as a script. The script can make use of the environment variable SMS_SENDER with is set to the phone number that sent the message.
Note, use of receive mode represents a significant security risk. It is recommended that the --match
option be used to restrict which sending parties the handset will allow control from.
Copyright (c) 2008-2010 Accenture. All rights reserved.