hiiii
I want to send an email as HTML with a given inclding page
the script goes like this
<?
/* recipients */
$to = "someone@somewhere.com";
/* subject */
$subject="The subject";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=windows-1256\r\n";
$headers .= "To: SSS. KSK <sss@ksk.com>\r\n";
$headers .= "From: My Web Site <webmaster@mysite.com>\r\n";
/* here i want to include a html/php page rather than typing it again from an existing one */
$message="include(\"myincludeingpage.php\")";
mail($to, $subject, $message, $headers) or die("mail not functioned!");
echo "<h2>Thank you</h2><br>Thank you";
?>
The mail does Work, but the including page does not appear,
what i receive in the email is in the message:
include(\"myincludeingpage.php\") :eek: what to do about it ???