I am using mandrill app to send emails from my website. I know how to send template using Mandrill.
I want to change template dynamically. I don't know how to do it. On this Site they mentioned to use |---| to change template dynamically. Here they aso mentioned how to declare global merge vars in JSON code.
My question is how to define global merge vars in PHP code?