November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Are you trying to make a CMS page where the additional attributes for some recipient are displayed?
(The §a§ etc placeholders should work normally when sending the CMS page as a mailing in EPiServer Mail.)
Something like this should be a starting point:
IRecipientSource theSource = EPiServerMailModule.GetRecipientSource(...);
Recipient recipient = theSource.GetRecipient(...);
And on the recipient object the property Attributes should have the relevant data.
However, GetRecipient takes the Guid that identifies the recipient, which you may or may not have handy in the codebehind of that CMS page.
Hi,
I'm trying to put together a simple personalized email based on a CMS page where I'd like to include the recipient's name and other values using the variables §a§, §b§, §c§ etc from the recipient list. Is there any way of getting access to these values from code-behind?
Regards,
Helena