![Black Box LS1016A User Manual Download Page 185](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435185.webp)
Chapter 3 - Additional Features
User Guide
185
-d dest (cont.)
If there are any doubts, please contact the SMS server
administrator for your network. Please always include the area
code (even when sending to a destination in the same “area”,
i.e., on the same network). The number without the area code,
though syntactically correct and accepted by the network, may
never get delivered.
-m message
Required (Use one and only one of “-m” or “-f”). The text of the
message to be sent. Unless made up of a single word, it will have
to be quoted for obvious reasons. Maximum length is 160 char-
acters. A longer message will be truncated (you will be warned
about it), but the message will still be sent. At the present time,
only 7-bit ASCII is supported for the message text.
-f msgfile
Required (use one and only one of “-m” or “-f”). The name of a
text file where the message to send is to be read from. This file
can contain multiple lines of text (they will be concatenated),
but its total length can't exceed 160 characters. A longer text
will be truncated (you will be warned about it), but the message
will still be sent. The special file '-' means that input will be read
from stdin. At the present time, only 7-bit ASCII is supported for
the message text.
-u user
Optional. The server module requires the user to identify her/
himself for logging purposes. No authentication is performed on
this information, however. If this parameter is omitted, sendsms
will send the UNIX username of the current user. This parameter
allows you to override this default behavior (might be useful in
the case of automated sending).
-p port
Optional. Communication port on the target server. If provided
here, this value will be used to connect to the server. If omitted,
the client will query the local system for the port number associ-
ated with the “well known service” sms (as defined in
/etc/services). If that doesn't return an answer, the compiled-in
default value 6701 will be used.