Hi,
I'm using the file() function in a form processor to call in the text used in an autoresponder email.
$mailtext2 = file("mailtext2.php");
$mailtext2 = join("", $mailtext2);
$content_mail2 = $mailtext2;
It works fine but variables are not being read from the template file.
How do I do this if I want to include the user name in the body of the email?
Thanks in advance,
Gary