# MailslurpJavascriptApollo.MatchOption

# Properties

Name Type Description Notes
field String The email property to match on. One of SUBJECT, TO, BCC, CC or FROM [optional]
should String What criteria to apply. CONTAIN or EQUAL. Note CONTAIN is recommended due to some SMTP servers adding new lines to fields and body content. [optional]
value String 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. [optional]

# Enum: FieldEnum

  • SUBJECT (value: "SUBJECT")

  • TO (value: "TO")

  • BCC (value: "BCC")

  • CC (value: "CC")

  • FROM (value: "FROM")

# Enum: ShouldEnum

  • CONTAIN (value: "CONTAIN")

  • EQUAL (value: "EQUAL")