Click or drag to resize
NewsletterTasksManagerCreateMailoutTask Method
Prepares scheduler TaskInfo object for an issue mail-out.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax
C#
public static TaskInfo CreateMailoutTask(
	IssueInfo issue,
	DateTime when,
	bool taskEnabled = true
)

Parameters

issue
Type: CMS.NewslettersIssueInfo
Issue
when
Type: SystemDateTime
Date and time when the task should be executed
taskEnabled (Optional)
Type: SystemBoolean
Creates enabled/disabled task

Return Value

Type: TaskInfo
A scheduler task that represents an issue mail-out
See Also