Using elsif in the "From" field of email templates

I have code here for the “Redirect To” field in the email templates.

{% if application.name == 'AcmeCorp' %} https://acmecorp.com.au/verify-email-callback {% elsif application.name == 'AcmeCorp-staging' %} https://acmecorp-staging.azurewebsites.net/verify-email-callback {% else %} http://localhost:1340/verify-email-callback {% endif %}

Can I use this same convention but in the “From” field?

Hi,
Unfortunately, the ‘if’ feature of Liquid Syntax is not currently available in the ‘From’ field for email templates. If this is something you would like to see in a future release of Auth0, I encourage you to describe this as a feature request in https://auth0.com/feedback to be analyzed by the Product team.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.