info.mailtraq.com > Management > Script Functions A-Z > Do() Do()This function is essentially the same as the concatenation operator ++, but makes the script more readable by binding multiple expressions within its function. The Do() function takes any number of parameters and returns them concatenated.
result := Do( expression [ , expression [ , expression ... ] ] )
- expression
- A script expression to be evaluated
- result
- The concatenation of all the evaluated expressions within the function
//Example usage
Do(
SetHeader("From", AddressOf("john")),
SetHeader("To", " foo@example.com "),
SetHeader("Organization", "Novitraq Inc")
) |