Click or drag to resize
EmailQueueManager Class
Manages generation and sending of EmailQueueItems (newsletter queue).
Inheritance Hierarchy
SystemObject
  CMS.NewslettersEmailQueueManager

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

The EmailQueueManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClearEmailsSendingStatus
Clears the sending status for the corrupted e-mails.
Public methodStatic memberFetchEmailsToSend(Boolean, Boolean, Int32, Int32)
Fetches the e-mails which should be sent from database and marks them as being sent.
Public methodStatic memberFetchEmailsToSend(Boolean, Boolean, Int32, Int32, Boolean, Int32)
Fetches the e-mails which should be sent from database and marks them as being sent. If enabled all e-mails with status 'sending' which have EmailID smaller then or equal to 'firstEmailId' will be deleted.
Public methodStatic memberFetchVariantEmailsToSend
Fetches the variant e-mails which should be sent from database and marks them as being sent. If enabled all e-mails with status 'sending' which have EmailGUID smaller then or equal to 'firstEmailGuid' will be deleted.
Public methodStatic memberGenerateDynamicIssue
Generates issue of given dynamic newsletter based on the page defined by NewsletterDynamicURL.
Public methodStatic memberGenerateEmails(Int32)
Generates emails of given issue into e-mail queue.
Public methodStatic memberGenerateEmails(IssueInfo)
Generates e-mails of given issue into e-mail queue.
Public methodStatic memberGenerateEmails(IssueInfo, SubscriberInfo)
Generates e-mails of given issue into newsletter queue.
Public methodStatic memberResendEmail
Sends specified e-mail, successfully sent e-mail is deleted from the queue, failed e-mail is updated with ErrorMessage information.
Public methodStatic memberSendAllEmails
Tries to send all e-mails in the newsletter queue (failed and new).
Public methodStatic memberSendAllEmails(Boolean)
Tries to send new e-mails in the newsletter queue, failed e-mails sending depends on the setting.
Public methodStatic memberSendAllEmails(Boolean, Boolean, Int32)
Tries to send all e-mails in the newsletter queue.
Public methodStatic memberSendEmail(EmailQueueItemInfo, NewsletterInfo, IssueInfo, EmailTemplateInfo, String, String, String)
Sends specified e-mail from the newsletter queue, successfully sent e-mail is deleted from the queue, failed e-mail is updated with ErrorMessage information.
Public methodStatic memberSendEmail(EmailQueueItemInfo, NewsletterInfo, IssueInfo, EmailTemplateInfo, String, String, String, Boolean)
Sends specified e-mail from the newsletter queue, failed e-mail is updated with ErrorMessage information.
Top
See Also