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: 12.0.0
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