Pass dynamic content to "From" e-mail template

There’s any way to provide a dynamic content to field “From” on e-mail templates, such as reset_email.json, e.g. “{{ friendly_name }} {% if A %} a@example.com {% else %} b@example.com”?

Hi @fabiocalliari,

Unfortunately, the From field does not support an if/else block currently. You can reference any of the common variables listed in the docs, but the format is expected to be an email address (‘support@yourapp.com’) or an email address with a prefix (‘Your App support@yourapp.com’).

It’d be great to get more information about your use case in a feature request in a feedback topic for our product team and the community to review:

1 Like

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