protected void SetUpEmail(Product product) { string subjectText; string bodyText; EmailTemplateTextVariable.ReplaceTellFriendText( product, out subjectText, out bodyText); uxSubjectText.Text = subjectText; uxEmailBodyHidden.Value = bodyText; }
protected void SetUpEmail(Product product, out string subject, out string contentBody) { string subjectText; string bodyText; EmailTemplateTextVariable.ReplaceTellFriendText( product, out subjectText, out bodyText); subject = subjectText; contentBody = bodyText + "<br/>"; }