Unable to include PhP variables in emails.
I have several email templates that I need to display various values from a global php include. Even though the file is included in the email template the values do not show in the email sent to the end user.
From the following code you can see where I am including the php file with the values defined however they are always blank in the email when it arrives at it's destination.
NOTE: See attached file
Server variables are visible however all include values are empty.
There must be something i'm missing but I can't figure it out. I get no errors when the email is sent yet the included values are always empty.