email/editconfig

Namespace Name Admin Only Log Summary Generates Event Version Added
email editconfig yes yes yes 1

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"
  }
}