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

ma_server="my.mailserver.com";
ma_port="587";
ma_ssl="3";
ma_logintype="1";
ma_username="cam@my.email";
ma_password="passowrd";
ma_from="cam@my.email";
ma_to="cam@web.de";
ma_subject="MyCam";
ma_text="Hello";
response="200";

GET: http://192.168.2.168/param.cgi?cmd=getsmtpattr&-usr=admin&-pwd=instar

ma_server="my.mailserver.com";
ma_port="587";
ma_ssl="3";
ma_logintype="1";
ma_username="cam@my.email";
ma_password="passowrd";
ma_from="cam@my.email";
ma_to="cam@web.de";
ma_subject="MyCam";
ma_text="Hello";
response="200";

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