info.mailtraq.com > Management > Script Functions A-Z > OriginalMessage() OriginalMessage()Returns the complete trigger message as a single string containing both the header fields and the message body. Each separate line from the source message is separated by the "\n" escape so that the original line breaks are maintained.
string := OriginalMessage( [ maxlines ] )
- maxlines
- The number of lines to quote. If the parameter is not provided, the entire message is returned
- string
- A single string containing (an extract from) the original message
Quoting twenty five lines of an input message in a Mailtraq template Your original message is quoted below
--
{ OriginalMessage(25) } |