# Alarm notification pipeline and HTML text

**URL:** <https://forum.inductiveautomation.com/t/alarm-notification-pipeline-and-html-text/66343>\
**Category:** Ignition\
**Created:** [November 10, 2022, 10:30am UTC](https://forum.inductiveautomation.com/t/alarm-notification-pipeline-and-html-text/66343 "2022-11-10T10:30:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [November 10, 2022, 10:30am UTC](https://forum.inductiveautomation.com/t/alarm-notification-pipeline-and-html-text/66343/1 "2022-11-10T10:30:48Z")

</div>

Good morning,

I would like to ask how is possible to send Email using the HTML, I try to add but it manage it as a simple text.

Thank you

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [November 10, 2022, 2:10pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-pipeline-and-html-text/66343/2 "2022-11-10T14:10:28Z")

</div>

I don't know if the notification block allows this, but you can use a script block and [https://docs.inductiveautomation.com/display/DOC81/system.net.sendEmail`](https://docs.inductiveautomation.com/display/DOC81/system.net.sendEmail%60)

I use this for daily alarm summaries, formatted with html.

---

<div class="post-metadata">

**Author:** ![Klaus\_Reckefuss](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@Klaus\_Reckefuss](https://forum.inductiveautomation.com/u/Klaus_Reckefuss)\
**Post date:** [November 10, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-pipeline-and-html-text/66343/3 "2022-11-10T14:33:37Z")

</div>

First of all write ín (Sripting)(Project Library) a function, that returns the HTML you want to send for the Message. Then create in (TagBrowser)(default) a (New Standard Tag)(Memory Tag). Then in (Expression) of the new Tag. Type the following "runScript("(Scriptingfolder from (ProjectLibrary))(your Function)",0,{possible Variables},False)". In the Alarm that should be put to HTML create in (Assiosated Data) a new Tag in which you bind the previous created HTML Tag. In the Notification Block, in the Alarm Pipeline, you write the in (Assiosated Data) created tag in braces '{}' in the Message Field. if there is an easier and better way, I dont know, If it is this is not good explained, tell me. Then i make a demo Project with screen-shots
