NewsletterTasksManagerEnsureMailoutTask Method |
Returns scheduled mailout task for the given issue or creates new one.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax 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:
TaskInfoSee Also