Checks whether contact is subscribed to the given newsletter. Check is made based on the contact's email address. If
there is a subscriber with the contact's email subscribed to the newsletter, it means contact is subscribed. If subscriber with
contact's email is not subscribed, contact's activities are checked. If contact has subscription activity, he is subscribed.
Namespace: CMS.OnlineMarketingAssembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- contact
- Type: System Object
Contact whose email should be checked
- newsletterName
- Type: System String
Newsletter name
- lastXDays
- Type: System Int32
Constraint for last X days (if zero or negative value is given, no constraint is applied)
Return Value
Type: BooleanSee Also