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: 12.0.0
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