HasHeader
HasHeader
Search messages that have a header with the specified field-name and that contains the specified string in the text of the header (what comes after the colon). If the string to search is zero-length, this matches all messages that have a header line with the specified field-name regardless of the contents.
Returns: MailQuery that represents search query (one searching criteria).
HasHeader(System::String fieldName, System::String fieldValue)
| Parameter | Description |
|---|---|
| fieldName | Name of the field. |
| fieldValue | The field value. |