MatchOption

Properties

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

Examples

  • Prepare the resource
$MatchOption = Initialize-maislurp-client-powershellMatchOption  -Field null `
 -Should null `
 -Value null
  • Convert the resource to JSON
$MatchOption | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to ]