INSTAR Deutschland GmbH

720p CGI Befehle



The Alarm Menu :: Email




param.cgi?cmd=setsmtpattr

Function Set the Receiver for the Email Notification
Authority admin
Parameter aname:
ma_server: SMTP Server Address e.g. smtp.strato.de
ma_port:SMTP Server Port e.g. 25, 587 or 465
ma_ssl: SSL Encryption 0 (Disabled), 1 (SSL), 2 (TLS) or 3 (STARTTLS)
ma_logintype:Enable (1) or Disable (3) Authentication
ma_username:SMTP Server Username
ma_password:SMTP Server Password
var ma_from: Sender Email Address
var ma_to: Receiver Email Address
var ma_subject: Mail Subject Line
var ma_text: Mail Content
Return Success, Error
Example GET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=getsmtpattr
SET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=setsmtpattr&-ma_from=my@email.com&-ma_to=my2nd@email.com;&-ma_subject=Alarm&-ma_text=Alarm



param.cgi?cmd=testsmtp

Function Test SMTP Parameter
Authority admin
Parameter 0: (successful)
-1 (unknown error)
-2 (no connection to server)
-3 (username or password error)
-4 (path error)
Return Success, Error
Example GET: http://admin:instar@192.168.178.88/cgi-bin/hi3510/param.cgi?cmd=testsmtp