Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Does it supported the collections in MergeVar content? #28

Open
stanislasbonifetto opened this issue Mar 28, 2015 · 1 comment
Open

Comments

@stanislasbonifetto
Copy link

The send-template.json (https://mandrillapp.com/api/docs/messages.JSON.html#method=send-template) supports mixed content, but the type of MergeVar content field is a String.
Do you know how I can pass a collection or an array to the template, so I can iterate over in the template?

Or we can add a new MergeVar class that supports object in content?

thanks

@mxlv
Copy link

mxlv commented Apr 16, 2015

Hey Stanislas,

I had the same issue you did and provided a fix for this. You can check it out on my fork

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants