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

isBlacklisted

Queries whether an email address is blacklisted in Episerver Campaign. This method considers both exact matches (e.g., "john@example.com") as well as wildcards (e.g., "*@example.com"). See also areBlacklisted.

Type: boolean

Parameters

NameTypeValue

sessionId

String

ID of the session

emailAddress

String

Email address to be queried

Return values

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

Code structure

boolean isBlacklisted(String sessionId, String emailAddress)

Last updated: Apr 24, 2018