MailSlurp JS

Globals / MatchOption

# Namespace: MatchOption

export

namespace MatchOption

# Index

# Enumerations

# Properties

# Properties

# field

Optional field: FieldEnum

Defined in src/generated/api.ts:1980 (opens new window)

The email property to match on. One of SUBJECT, TO, BCC, CC or FROM

memberof MatchOption


# should

Optional should: ShouldEnum

Defined in src/generated/api.ts:1986 (opens new window)

What criteria to apply. CONTAIN or EQUAL. Note CONTAIN is recommended due to some SMTP servers adding new lines to fields and body content.

memberof MatchOption


# value

Optional value: string

Defined in src/generated/api.ts:1992 (opens new window)

The value you wish to compare with the value of the field specified using the should value passed. For example BODY should CONTAIN a value passed.

memberof MatchOption