I would like to add dynamic content to my e-mail, part of it being a collection of items (e.g. list of books). I would like Mandrill to render each of these items once (e.g. one table row per book). Is it possible to use for-loop in Mandrill somehow?
Yes! Mandrill now offers full support for dynamic iteration over a list when you use the Handlebars templating language.
Here's how to do it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With