E-Mail Notification failed

Yeah, there is some problem.
You can use another mail server like GoDaddy mail, i am using GoDaddy mail and it worked perfectly.

Thanks.
We switched to another email server (not gmail.com) and it is working now.
Seems like STARTTLS is faulty (at least with gmail). And setting it to use TLS solved the problem.

Since @Rich update it works fine with Gmail guys, just configure it like this
update first:
docker-compose -p openremote pull
then docker-compose.yml

environment:
      OR_SETUP_TYPE:
      OR_ADMIN_PASSWORD:
      OR_SETUP_RUN_ON_RESTART:
      OR_EMAIL_HOST: ${OR_EMAIL_HOST:-smtp.gmail.com}
      OR_EMAIL_USER: ${OR_EMAIL_USER:-my@email.com}
      OR_EMAIL_PASSWORD: ${OR_EMAIL_PASSWORD:-myappspecificpassword}
      #OR_EMAIL_PROTOCOL: smtps
      #OR_EMAIL_PORT: 465
      #OR_EMAIL_TLS: "false"

You only need to configure host, user, app-specific password

Hi @pcr
It works now!!
but there is a problem, if i set a rule for an attribute of an asset, (rule=-temp <= 20).
i will received mail regarding temp attribute if the value greater than 20 but when i got mail all attribute values are present on that mail.

My question is that how i get only the specific attribute value @Rich @pcr @martin.peeters @Don

Thanks

Hi @apurba
If you can please share screenshots of the rule configuration and the email received
In my case if I test it with just a boolean attribute that I manually set to true (like this)

I receive this

image

Hi @pcr

Thanks

I just tested it, apparently the variable %TRIGGER_ASSETS% gets all the attribute with “rule state” configuration item.
I tried with %TRIGGER_ATTRIBUTE% but it didn’t work, and I can’t find it in the code

Please see this separate thread regarding notification email format: