Hi,
I a trying to create av EmailRecipientProvider that adds som custom content to the emails.
As I understand I should use the GetRecipientContentContext for this.
Would this be the right way to populate a {{MyCustomTag}} in an email template? Propable not because I can't get it to work. :)
public override PageViewContext GetRecipientContentContext(Recipient recipient)
{
var pvc = new PageViewContext();
pvc.SetValue("MyCustomTag", "MyCustomContent");
return pvc;
}
Whats missing? Something with the recipient.RecipientKey?
Regards / Aki