Click to See Complete Forum and Search --> : inluding 'footer.inc' in a mail() message


briwired
01-23-2004, 12:09 PM
Hi everyone.

I would like to add the information from a file called footer.inc to the bottom of every email I send out to an email list.

This is the code that I'm using right now:


$message = "$txtMessage\n\n".
"include('footer.inc');".$text;



The message doesn't pick up on the php tag, rather it just prints include('footer.inc') to the bottom of the message.

How can I get the message to recognize the php?

Thanks,

Brian