Click or drag to resize
NewsletterTasksManager Class
Class for managing scheduled tasks that relate to newsletters (QueueSender).
Inheritance Hierarchy
SystemObject
  CMS.NewslettersNewsletterTasksManager

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
public static class NewsletterTasksManager

The NewsletterTasksManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateMailoutTask
Prepares scheduler TaskInfo object for an issue mail-out.
Public methodStatic memberCreateOrUpdateDynamicNewsletterTask
Creates or updates scheduler TaskInfo object for the dynamic newsletter. If the taskToUpdate is specified, task is updated according taskInterval and newsletter. Otherwise new TaskInfo is used.
Public methodStatic memberDeleteMailoutTask
Removes scheduled mail-out task for specified issue.
Public methodStatic memberDeleteWinnerSelectionTask
Removes scheduled winner selection task.
Public methodStatic memberEnableVariantScheduledTasks
Enables all scheduled tasks associated to all variants of parent issue.
Public methodStatic memberEnsureMailoutTask
Returns scheduled mail-out task for the given issue or creates new one.
Public methodStatic memberEnsureWinnerSelectionTask
Ensures that the winner selection task is created or updated (or deleted) according to A/B test info. Start time of winner selection task is calculated according to A/B test setting and highest mail-out time of the variant.
Top
See Also