Click or drag to resize
NewsletterTasksManagerEnsureMailoutTask Method
Returns scheduled mailout task for the given issue or creates new one.

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

Parameters

issue
Type: CMS.NewslettersIssueInfo
Issue
when
Type: SystemDateTime
Indicates when to run scheduled task
taskEnabled
Type: SystemBoolean
Determines whether the newly created task will be enabled

Return Value

Type: TaskInfo
See Also