HTML Alarm Email

How can I send alarm emails in HTML format?

I would look into system.net.sendEmail(). There is a boolean parameter named ‘html’. You can set it true to enable HTML formatting in your emails. I turn it off when I am sending TXT/MMS alert messages and turn it on when I’m sending regular alarm notifications. Basic HTML seems be parsed just fine by mobile devices, in case that was a concern.

Ok, that is one option I will look into. I should have been more specific, I am trying to send HTML email with a notification pipeline. Any way to do that?

In the alarm email, the message type is hard coded to “text/plain”.

Thanks Kathy, any future plans to allow for HTML?

I don’t see any tickets for it. If enough people request it, I don’t see a reason why it couldn’t be done. (Of course, there may be good reasons it wasn’t done that I’m not aware of… :smiley: )

1 Like

Ok, consider this my vote for HTML notification support! :thumb_right:

2 Likes

Yep +1

Would love the ability to add images.

+1!

+1

It would be useful if there was a way to pass the alarm info (name, status, etc) to a Script module in order to format the email by ourself.

Regards

+1

+1

+1

Best way to get this to happen is voting for the suggestion at ideas.inductiveautomation.com.