New Suggested 9/25/2020 by Alex

34

votes

Add logic to email template language

Not just #Subject# of #From#, but

#if(From=='John')#
 custom text
#end#

This way we can create different email templates for different companies, departments, etc etc

avatar
Alex Tech
... or even support a well-known templating language, like Liquid templates, used in most email software.
10/3/2020 9:55 AM
avatar
Renault DEMANGER
Ho my god (the idea and Alex for sure) !

Mmmm... very good idea

But, in this case and if not already planned (for sure), I suggest that you include a complete documentation with full variables; instructions and examples.
10/7/2020 5:20 AM
avatar
Renault DEMANGER
I vote for the idea of Alex, well-known templating language.

More standard solution is, better path to the force is -_-
3/11/2021 9:31 AM
avatar
Heja
I don't mind how its going to be implemented in the backend so long as its easy to those non techie "technician" whos using it.
8/8/2021 8:30 AM
avatar
Js P
passing the objects to the template system would be great, current data that can be referenced is limited
2/12/2022 5:43 PM
avatar
Hector Bas
I think y'all are already using Mustache.js, but Handlebar.js might be more powerful/flexible. Definitely could use this at times!!
7/26/2022 12:29 PM

Log in to comment...