Click or drag to resize
NewsletterHelperGetPreviewHTML Method
Gets preview HTML of issue for given subscriber. Might not represent reality, for example Contact groups show an e-mail that will get the first found contact that belongs to the contact group.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public static string GetPreviewHTML(
	IssueInfo issue,
	SubscriberInfo subscriber
)

Parameters

issue
Type: CMS.NewslettersIssueInfo
Issue for which the preview will be generated
subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber to generate preview for

Return Value

Type: String
Complete HTML preview of the newsletter issue
See Also