The Features Menu :: Email


param.cgi?cmd=getsmtpattr

Get Email Notification Parameter

  • ma_server: SMTP Server Address e.g. smtp.strato.de
  • ma_port: SMTP Server Port e.g. 25, 587 (TLS) or 465 (SSL)
  • 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
  • ma_from: Sender Email Address
  • ma_to: Receiver Email Address
  • ma_subject: Mail Subject Line
  • ma_text: Mail Content

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getsmtpattr
var ma_server="";var ma_port=0;var ma_username="";var ma_password="";var ma_subject="";var ma_text="";var ma_from="";var ma_to="";var ma_logintype=0;var ma_ssl=0;

GET: http://192.168.2.168/param.cgi?cmd=getsmtpattr&-usr=admin&-pwd=instar
var ma_server="";var ma_port=0;var ma_username="";var ma_password="";var ma_subject="";var ma_text="";var ma_from="";var ma_to="";var ma_logintype=0;var ma_ssl=0;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setsmtpattr&-ma_ssl=3&-ma_from=cam%40instar.email&-ma_to=me@gmail.com%3B&-ma_subject=Alarm%20Email&-ma_text=ALARM&-ma_server=mx.instar.email&-ma_port=587&-ma_logintype=1&-ma_username=cam%40instar.email&-ma_password=kunde123