(408) 943-4100               V   Commercial Support

email/editconfig

  1 minute read.

Last Modified 2021-02-04 11:38 EST
NamespaceNameAdmin OnlyLog SummaryGenerates EventVersion Added
emaileditconfigyesyesyes1 (Removed in 1.2)

This API namespace was depricated in version 1.1, and removed in version 1.2. Please look at the alertplugins/* API namespace for the repacement for this functionality.

Description

Configure SSMTP

Input Arguments

  • Required:
    • “rootaddress” (String)
    • “mailserver” (String)
    • “port” (String)
    • “security” (String) (“TLS” or “STARTTLS” or “TLS+STARTTLS”)
    • “AuthUser” (String)
    • “AuthPass” (String)
    • “AuthMethod” (String)

Configuration of SSMTP

{
  "namespace" : "email",
  "name" : "writeconfig",
  "id" : "some_id",
  "args" : {
     "rootaddress" : "email@domain.com",
     "mailserver" : "smtp.domain.com",
     "port" : "587",
     "security" "TLS+STARTTLS",
     "AuthUser" "useraddress",
     "AuthPass" "userpass",
     "AuthMethod" : "LOGIN"
  }
}

Reply Example

{
  "namespace" : "email",
  "name" : "response",
  "id" : "some_id",
  "args" : {
    "result" : "success"
  }
}