Mandrill-dotnet
Mandrill-dotnet copied to clipboard
AddGlobalVariable Dynamic Objects
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?