public interface ISubscriptionService
Thetype exposes the following members.
Returns true if subscriber is subscribed to given newsletter and at the same time is not in the unsubscription list for the given newsletter.
Returns true if specified email address is unsubscribed from newsletter on given site. Is affected by, setting "CMSNewsletterUseSiteSpecificUnsubscriptions".
Unsubscribe the subscriber from the newsletter. Removes the binding from newsletter subscriber table.
Subscribes subscriber to given newsletter. Removes the email from unsubscription list for given newsletter. Whether or not email is removed from "unsubscribe form all" list can be specified in subscribeSettings parameter. subscribeSettings parameter specifies whether confirmation email will be send and if subscription should be approved immediately.
Unsubscribes the email from all newsletters. SubscriberUnsubscribes event is invoked after unsubscribing. Binding in the newsletter-subscription table will stay. Email will be added into the unsubscription list.
Unsubscribes the email from newsletter. SubscriberUnsubscribes event is invoked after unsubscribing. Binding in the newsletter-subscription table will stay. Email will be added into the unsubscription list. Optionally, you can decide whether to send confirmation email.