NewsletterTasksManagerCreateMailoutTask Method |
Prepares scheduler TaskInfo object for an issue mail-out.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax 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:
TaskInfoA scheduler task that represents an issue mail-out
See Also