protected void SetUpEmailPromotion(PromotionGroup group) { string subjectText; string bodyText; EmailTemplateTextVariable.ReplaceTellFriendPromotionText( group, out subjectText, out bodyText); uxSubjectText.Text = subjectText; uxEmailBodyHidden.Value = bodyText; }
protected void SetUpEmailPromotion(PromotionGroup group, out string subject, out string contentBody) { string subjectText; string bodyText; EmailTemplateTextVariable.ReplaceTellFriendPromotionText( group, out subjectText, out bodyText); subject = subjectText; contentBody = bodyText + "<br/><br/>"; }