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