Click or drag to resize
IUnsubscriptionProviderRemoveUnsubscriptionsFromAllNewsletters Method
Deletes all "unsubscription from all" records for the given email on given site. Is affected by UseSiteSpecificUnsubscriptions.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 9.0.0
Syntax
C#
void RemoveUnsubscriptionsFromAllNewsletters(
	string email,
	int siteID
)

Parameters

email
Type: SystemString
Email address
siteID
Type: SystemInt32
Site ID
Exceptions
ExceptionCondition
ArgumentExceptionemail has to be specified
See Also