ContactInfoObjectQueryExtensionsNotBounced Method (ObjectQueryContactInfo, Boolean, Int32) |
Filters out contacts whose email address is unreachable (it has bounced more than bouncedEmailsLimit times).
Contacts blocked manually by administrator are filtered out as well.
Namespace: CMS.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 11.0.0
Syntax public static ObjectQuery<ContactInfo> NotBounced(
this ObjectQuery<ContactInfo> contactsQuery,
bool monitorBouncedEmails,
int bouncedEmailsLimit
)
Parameters
- contactsQuery
- Type: CMS.DataEngineObjectQueryContactInfo
Query which will be changed to include where clause filtering out bounced contacts - monitorBouncedEmails
- Type: SystemBoolean
If true, bounces will be checked against the bouncedEmailsLimit parameter. Otherwise, only contacts blocked in the UI will be filtered out. - bouncedEmailsLimit
- Type: SystemInt32
Number of bounces which are allowed
Return Value
Type:
ObjectQueryContactInfoModified query
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ObjectQueryContactInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also