Das Alarm Menü :: Email




param.cgi?cmd=setsmtpattr

FunctionSet the Receiver for the Email Notification
Authorityadmin
Parameteraname:
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
ReturnSuccess, Error
ExampleGET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=getsmtpattr
SET: http://admin:instar@192.168.2.168/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

FunctionTest SMTP Parameter
Authorityadmin
Parameter0: (successful)
-1 (unknown error)
-2 (no connection to server)
-3 (username or password error)
-4 (path error)
ReturnSuccess, Error
ExampleGET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=testsmtp