MailHeaderValue
This function returns a value of the specified header from the mail that created a case. The function works only at the moment when the case has just been created from an email. In other words, you must use it only in an automatic rule executed at the first stage of the case. It is recommended that there is only one automatic rule at the starting stage defined in the process.
Syntax
MailHeaderValue("headerName");
Function arguments
- headerName – (String) a name of the mail header, ex.: To, CC, From, Reply-To, Received, Subject, Date.
Return value
This function returns Boolean.
Returns a mail header value or an empty string if the header is not found.
Examples
Example 1:
This will return a mail address that was placed in „To” header field of the incoming mail.
MailHeaderValue("To");