Forum Discussion

santosh_csc's avatar
8 years ago

How to pass parameters to text keys in email template

I have a text key like 

custom.test = Hi, {0} test mail

And I can pass value to text key in components like below.

${text.format("custom.test","Hi")}

 

How can I do the same in email templates?

3 Replies

  • santosh_csc's avatar
    santosh_csc
    Guide
    8 years ago

    Thanks VarunGrazitti.

     

    Is there any way to call component/end points within the email template.

  • VarunGrazitti's avatar
    VarunGrazitti
    Boss
    8 years ago

    santosh_csc - No, not at all. They are on a completely standalone engine and don't work like the custom components.