renz45/mandrill_mailer

Sending through array day as merge_vars

Closed this issue · 1 comments

Hi there, we're struggling to pass through array data as merge_vars as per:
https://mandrill.zendesk.com/hc/en-us/articles/205582537-Using-Handlebars-for-Dynamic-Content
Ive tried a variety of syntaxes, but could you maybe provide an example of what that would look like if possible?

Here's what were currently trying:

vars: [
        {
          "name": "my_array",
          "content": [
            "one",
            "two"
          ]
        }
      ],

Since we're using Mailchimp I think that is where the problem lies, as they dont support handlebars templating. Closing.