Click or drag to resize
ISubscriptionServiceIsMarketable Method (Int32, Int32)
Returns true if subscriber receives marketing emails.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax
C#
bool IsMarketable(
	int subscriberID,
	int newsletterID
)

Parameters

subscriberID
Type: SystemInt32
Subscriber ID.
newsletterID
Type: SystemInt32
Newsletter ID.

Return Value

Type: Boolean
Exceptions
ExceptionCondition
ArgumentExceptionSubscriber or newsletter does not exist
Remarks
If subscriber represents contact group, method only checks the contact group is subscribed (does not check particular contacts).
See Also