I'm using the mail function in PHP to send an email.
The problem is, for the body I want to use html - stored in an external file.
Within the html in the external file, I am using session variables to personalise the email.
How can I get the external html file into the body of the email, and for the session variables to work?
I've tried using the include function within the mail function, but it simply sends a "1" instead of the content.
Any ideas?
Cheers.