Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddGlobalVariable Dynamic Objects #176

Open
digitalgym opened this issue May 24, 2016 · 0 comments
Open

AddGlobalVariable Dynamic Objects #176

digitalgym opened this issue May 24, 2016 · 0 comments

Comments

@digitalgym
Copy link

I'm trying to pass the following structure to mandrill.

email.AddGlobalVariable("callToAction",new { Label = "Go to", Link = "http://google.com" });

In the template I'm unable to access the properties with {{callToAction.Link}}. When I check fiddler it looks like the object has been created correctly. Can anyone provide an example of how to do this type of thing in c# and in the template?

@digitalgym digitalgym changed the title AddGlobalVariable Complex Types AddGlobalVariable Dynamic Objects May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant