Click or drag to resize
OnlineMarketingTransformationFunctionsUnsubscribedFromAllEmails Method
Returns true if the contact unsubscribed from all emails in the last X days.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 9.0.0
Syntax
C#
public static bool UnsubscribedFromAllEmails(
	Object contact,
	int lastXDays
)

Parameters

contact
Type: SystemObject
Contact which should be checked
lastXDays
Type: SystemInt32
Constraint for last X days (if zero or negative value is given, no constraint is applied)

Return Value

Type: Boolean
See Also