Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Email Template Location?
-
Hello All,
Can anyone tell me where to find the template for the email that is generated ffrom the event handlers?Thanks
Brian
-
web/WEB-INF/tags maybe?
-
^ Nope
Mango/ftl
FTL stands for "Freemarker Template Language" which is a Java template text builder tool. A model is passed to it from Mango, and freemarker can use this model to vary its output. You can find the model for the email handlers being built on lines 210-225 of EmailHandlerRT, https://github.com/infiniteautomation/ma-core-public/blob/42c4de57d7a5a0c33eb1fb219a16a4d6fda23d80/Core/src/com/serotonin/m2m2/rt/event/handlers/EmailHandlerRT.java
-
Thank you very much.
Cheers
Brian