Click or drag to resize
NewsletterTasksManagerCreateMailoutTask Method
Prepares scheduler TaskInfo object for an issue mailout.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
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 mailout
See Also