Java-Mandrill-Wrapper icon indicating copy to clipboard operation
Java-Mandrill-Wrapper copied to clipboard

Does it supported the collections in MergeVar content?

Open stanislasbonifetto opened this issue 9 years ago • 1 comments

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

stanislasbonifetto avatar Mar 28 '15 12:03 stanislasbonifetto

Hey Stanislas,

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

mxlv avatar Apr 16 '15 02:04 mxlv