Loading...
Area: Episerver Campaign
Applies to versions: Not applicable

containsValidMultiple

Queries whether a recipient can receive mailings in Episerver Campaign (i.e., are valid) from multiple recipient lists by checking the following conditions:

  • already exists in all queried recipient lists
  • is not blacklisted in multiple recipient lists
  • is not unsubscribed in multiple recipient lists
  • is not bounced-out in multiple recipient lists
  • has finished an opt-in process (if any opt-in process exists) in multiple recipient lists

By default, the media type EMAIL is used. Use the setMediaType method to select another media type (like SMS or FAX).

Type: boolean[ ]

Parameters

NameTypeValue

sessionId

String

ID of the session

recipientListIds

long[ ]

IDs of the recipient lists

recipientId

String

ID of the recipient

Return values

For each recipient list:

  • true: Recipient matches all conditions and receives mailings
  • false: Recipient does not match at least one condition and does not receive any mailings

Code structure

boolean[] containsValidMultiple(String sessionId, long[] recipientListIds, String recipientId) 

Last updated: Apr 25, 2018