How to use custom variables in send mail behaviour

How to use custom variables in send mail behaviour

How to use custom variables in send mail behaviour
divider

When you need to include a custom variable in the send mail behaviour you can do it like this:

Lets say you custom variable is $old_date

$old_date is not available as a dynamic variable of the extension so clicking on the lightning bolt will not help

You need to type it in manually and in the following format:

Your text {GLOBALS.old_date} some more text.

Written by:  - 31 May, 2010