Click or drag to resize
ISubscriptionServiceIsMarketable Method (ContactInfo, NewsletterInfo)
Returns true if given contact receives marketing emails of the given newsletter.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
bool IsMarketable(
	ContactInfo contact,
	NewsletterInfo newsletter
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
Contact.
newsletter
Type: CMS.NewslettersNewsletterInfo
Newsletter.

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentNullExceptioncontact or newsletter is null.
See Also