Click or drag to resize
ThreadEmailSender Class
Async e-mail sender. Gets e-mails from newsletter queue, prepares them and sends them to e-mail queue.
Inheritance Hierarchy
SystemObject
  CMS.NewslettersThreadEmailSender

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 8.2.23
Syntax
C#
public class ThreadEmailSender

The ThreadEmailSender type exposes the following members.

Constructors
  NameDescription
Public methodThreadEmailSender
Top
Methods
  NameDescription
Public methodStatic memberCancelSending
Stops current sending process.
Public methodRun
Sends all e-mails one by one in one thread.
Public methodRunAsync
Runs the sender in an asynchronous thread.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldmIssueID
Issue ID.
Protected fieldmSendFailed
Resend failed e-mails.
Protected fieldmSendNew
Send new e-mails.
Top
Properties
  NameDescription
Public propertyIssueID
IssueID, optional; only specific issue is send-out if it is set.
Public propertySendFailed
Send failed e-mails?
Public propertyStatic memberSendingThreads
Number of threads that are currently sending issues.
Public propertySendNew
Send new e-mails?
Top
See Also