' . $email. '

'. $questions .'

'; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'To: <' . $_POST['email'] . '>' . "\r\n"; $headers .= 'From: My Web Site ' . "\r\n"; // Mail it mail($to, $subject, $message, $headers); //Send them back to the form page with a success message. // From here is the html to the success page after e-mail was $theResults = <<< EOD My Web Site/contact

Your request for additional information has successfully been forwarded.

Thank you for your interest in My Web Site.

You can expect a prompt response.

EOD; echo "$theResults"; ?>