You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
digitalgym
changed the title
AddGlobalVariable Complex Types
AddGlobalVariable Dynamic Objects
May 24, 2016
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?
The text was updated successfully, but these errors were encountered: