Click or drag to resize
NewsletterEvents Class
Newsletter events.
Inheritance Hierarchy
SystemObject
  CMS.NewslettersNewsletterEvents

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

The NewsletterEvents type exposes the following members.

Constructors
  NameDescription
Public methodNewsletterEvents
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.
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 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 - ...
Public fieldStatic memberSubscriberClicksTrackedLink
Raised when subscriber clicks any of the email link and tracking of email link is enabled.
Public fieldStatic memberSubscriberOpensEmail
Raised when email is opened by the subscriber and tracking of email opening is enabled.
Public fieldStatic memberSubscriberUnsubscribes
Fired when email of subscriber is being unsubscribed.
Top
See Also