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: 10.0.0
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