IUnsubscriptionProvider Methods |
The IUnsubscriptionProvider type exposes the following members.
Name | Description | |
---|---|---|
CloneUnsubscriptionForEmail |
Clones all unsubscriptions existing for the given email and set them to newEmail.
Final state after execution of the method are two same unsubscriptions, one with the original email, one with the newEmail.
This method should be used whenever subscriber changes their email and already has some unsubscription saved,
so it can be assumed they want to have unsubscription for the newEmail as well.
| |
GetUnsubscriptionsFromAllNewsletters |
Returns query of all unsubscribed email addresses that won't receive any newsletter.
| |
GetUnsubscriptionsFromSingleNewsletter |
Returns query of all unsubscribed email addresses that won't receive given newsletter.
| |
IsUnsubscribedFromAllNewsletters |
Returns true if specified email address is unsubscribed from the all newsletter.
| |
IsUnsubscribedFromSingleNewsletter |
Returns true if specified email address is unsubscribed from newsletter.
| |
RemoveUnsubscriptionFromSingleNewsletter |
Deletes all unsubscription records that blocks email from getting issues sent from given newsletter.
| |
RemoveUnsubscriptionsFromAllNewsletters |
Deletes all "unsubscription from all" records for the given email.
| |
UnsubscribeFromAllNewsletters |
Unsubscribes email address from all newsletters. Does nothing if specified email is already unsubscribed.
| |
UnsubscribeFromSingleNewsletter |
Unsubscribes email address from given newsletter. Does nothing if specified email is already unsubscribed.
|