Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?