Click or drag to resize
SubscribeSettings Class
Settings defining how exactly will ISubscriptionService.Subscribe method behave.
Inheritance Hierarchy
SystemObject
  CMS.NewslettersSubscribeSettings

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

The SubscribeSettings type exposes the following members.

Constructors
  NameDescription
Public methodSubscribeSettings
Top
Properties
  NameDescription
Public propertyAllowOptIn
If true and double opt-in is enabled for given newsletter, subscription will be created as unapproved and double opt-in email will be sent. Default is false.
Public propertyRemoveAlsoUnsubscriptionFromAllNewsletters
If true, email is also removed from "unsubscribe all" list so it receives newsletters again. Default is false.
Public propertyRemoveUnsubscriptionFromNewsletter
If true, unsubscription is removed for specified email and newsletter. Default is false.
Public propertySendConfirmationEmail
If true, confirmation email will be send after successful subscription. Default is false.
Public propertySourceSubscriber
SubscriberInfo object with initial data used for subscriber creation.
Top
See Also