I'm using the built in mail function as follows:
$body="<html><body>First Name: $fname<BR>Last Name: $lname</body></html>";
$headers = "MIME-Version: 1.0rn";
$headers .= "Content-type: text/html; charset=iso-8859-1rn";
The fname, lname and email values are being passed from a form.
The email displays fine as above, but as soon as I add a third variable to the email body:
$body="<html><body>First Name: $fname<BR>Last Name: $lname<BR>Another Variable: $variable</body></html>";
the email displays with all the html code??