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

areBlacklisted

Recommended reading 

Queries whether mutiple email addresses are blocked in Optimizely Campaign. This method considers both exact matches (e.g., "john@example.com"), as well as wildcards (e.g., "*@example.com"). See also isBlacklisted.

Type: boolean[ ]

Parameters

Name Type Value

sessionId

String

ID of the session

emailAddresses

String[ ]

Email addresses to be queried

Return values

For each entry:

  • true: Email address is contained in the blocklist
  • false: Email address is not contained in the blocklist

Code structure

boolean[] areBlacklisted(String sessionId, String[] emailAddresses)
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 24, 2018

Recommended reading