Click or drag to resize
GeneratePreviewHandlerStart Method
Starts the event

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public GeneratePreviewHandler Start(
	IssueInfo issue,
	SubscriberInfo subscriber,
	string previewHtml = null
)

Parameters

issue
Type: CMS.NewslettersIssueInfo
Issue for which the e-mail preview is being generated
subscriber
Type: CMS.NewslettersSubscriberInfo
Subscriber for which the e-mail preview is being generated
previewHtml (Optional)
Type: SystemString
Final HTML, that will get shown in preview. This parameter is readable from PreviewHtml property when the event is finished.

Return Value

Type: GeneratePreviewHandler
Exceptions
ExceptionCondition
ArgumentNullExceptionissue is null
See Also