NewsletterEvents MembersKentico 8.1 API Reference
The NewsletterEvents type exposes the following members.
Constructors

  NameDescription
Public methodNewsletterEvents
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to 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.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberGeneratePreview
Event that is called when preview is being generated for a subscriber. Altering of preview content that is being displayed is available through PreviewHtml property. The event is triggered in GetPreviewHTML(IssueInfo, SubscriberInfo) method.
Public fieldStatic memberGenerateQueueItems
Fired when issue is being sent in newsletter. If you cancel this event, e-mails won't be generated into newsletter queue (see EmailQueueItemInfo) and sent afterwards. You can use this event to manually add items to queue for your custom subscriber.
Public fieldStatic memberObtainSubscriberAddresses
Is called when newsletter module is asking other modules that have custom subscriber type (see SubscriberType property) for e-mail addresses that an issue will be sent to. The event arguments are a SubscriberInfo of the subscriber that the e-mails are being obtained and reference to a set of addresses. Handlers subscribing to this event should then check whether the subscriber is of required type and fill the given set of addresses with its own addresses.
Public fieldStatic memberResolveMacros
Fired when all newsletter text macros are being resolved. This includes: - resolving context-free macros for the whole issue before sending - resolving macros with Subscriber context for each recipient - resolving macros in the e-mail preview mode - when link tracking is enabled and tracking link is being changed to the original one, macros in original link are resolved - ...
Back to Top
See Also