in Campaign Management

How to use TWIG in email templates ?

Twig is a templating language for PHP, which is a boring way of saying that it’s a tool used to output variables inside HTML. You can use TWIG as the template engine for campaign templates inside EasySendy Pro too.

You can use twig syntax in your templates like this:

{% if FNAME == ‘John’ %}

You are john doe.

{% endif %}

More examples about TWIG uses can be found here.

Comments are closed.