Click or drag to resize
GeneratePreviewHandler.Start Method
Starts the event

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

Parameters

issue
Type: CMS.Newsletters.IssueInfo
Issue for which the e-mail preview is being generated
subscriber
Type: CMS.Newsletters.SubscriberInfo
Subscriber for which the e-mail preview is being generated
previewHtml (Optional)
Type: System.String
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