Instruction manual

AXIS 2400
Administration Manual Appendix H-The Programming Script
71
S
SS
Sy
yy
yn
nn
nt
tt
ta
aa
ax
xx
x
log [MESSAGE];
O
OO
Op
pp
pt
tt
ti
ii
io
oo
on
nn
ns
ss
s
[MESSAGE]
The message string must be surrounded by quotation marks.
Example:
mail
This command uses the Simple Mail Transfer Protocol (SMTP) for sending images and files from
your AXIS 2400 to e-mail addresses.
Note: To use the mail command, you must specify the IP address of the mail server and a valid return
address on the TCP/IP page.
S
SS
Sy
yy
yn
nn
nt
tt
ta
aa
ax
xx
x
mail [-s SUBJECT] [-a ATTACHMENTS] [-t RECIPIENTS]
[-cam CAMERANUMBER] [-b BUFFERTYPE] [-n NUMBER];
O
OO
Op
pp
pt
tt
ti
ii
io
oo
on
nn
ns
ss
s
-s
Specifies the subject text for the e-mail. A simple one-word subject does not require
quotation marks. A subject with multiple words must be surrounded by quotation marks.
-a
Specifies attachments such as images or files. To include the image buffer, specify
images/buffer.jpg.
-t
Specifies the e-mail address of the recipient(s).
-cam
Specifies the camera source, i.e. 1-5. If omitted, the default camera will be used.
-b
Specifies the buffer type, i.e.
fullsize.jpg
,
halfsize.jpg
or
hugesize.jpg
. Only valid if
-a
is set to
images/buffer.jpg.
-n
Specifies the number of buffered images to be included in the e-mail. Only valid if
-src
is set
to
images/buffer.jpg
.
# This command will write a message to the log file
# when someone presses the Control button on the
# camera server front panel.
* * * * * /B :
log "The Control button was pressed." ;
%