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