MatchOption

Properties

NameTypeDescriptionNotes
fieldinlineThe email property to match on. One of SUBJECT, TO, BCC, CC or FROM[optional]
shouldinlineWhat criteria to apply. CONTAIN or EQUAL. Note CONTAIN is recommended due to some SMTP servers adding new lines to fields and body content.[optional]
valuekotlin.StringThe 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.[optional]

Enum: field

NameValue
fieldSUBJECT, TO, BCC, CC, FROM

Enum: should

NameValue
shouldCONTAIN, EQUAL