The email settings can be managed using the set/get commands.

Set (Configure):

curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/set?param=emailenable&value=yes"

Get (Retrieve):

curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/get?param=emailinfo"

Available Parameters

Parameter

Parameter Type

Parameter Description

Mandatory

param

String

The name of the parameter to be retrieved/configured. The parameters for the Email Options are:

  • emailenable
  • emailserver
  • emailport
  • emaildomain
  • emailuser
  • emailpassword
  • emailsslmode
  • emailemergency
  • emailcritical
  • emailerror
  • emailwarning
  • emailnotice
  • emailInfo

Yes

value

String

The value to set the parameter to.

Yes - if setting.

No - if getting.

Example Output

Set (Configure):

<?xml version="1.0" encoding="ISO-8859-1"?>
<Response stat="200" code="OK">
<Success>Command completed ok</Success>
</Response>

Get (Retrieve):

<Response stat="200" code="ok">
<Success>
<Data>
<emailinfo>jbloggs@kemptechnologies.com</emailinfo>
</Data>
</Success>
</Response>