telefonicaid / perseo-fe

Front End process for the Perseo CEP
GNU Affero General Public License v3.0
15 stars 29 forks source link

Modify Email Action to include an specific SMTP relay server (other than config? #774

Closed mrutid closed 6 months ago

AlvaroVega commented 6 months ago

https://github.com/telefonicaid/perseo-fe/blob/master/docs/API/plain_rules.md#email-action Current email action:

"action": {
        "type": "email",
        "template": "Meter ${Meter} has pressure ${Pressure} (GEN RULE)",
        "parameters": {
            "to": "someone@acme.com",
            "from": "cep@acme.com",
            "subject": "It's The End Of The World As We Know It (And I Feel Fine)",
            "smtp": {
               "port": 25,
               "host": "smtpserver",
               "secure": false,
               "auth": {
                  "user": "abc",
                  "pass": "xyz"
               },
               "tls": {
                  "rejectUnauthorized": false
               }
            }
        }
    }
fgalan commented 6 months ago

After checking this with @mrutid we agree is currently correctly covered by documentation, so this issue is going to be closed.