I read from a template, insert data and save it as a new file with html
i want to send that file that is the same as $out via mail embedded in it...

i do

$fifi = fopen ('/'.$cursada.$cuatrimestre.'/'.$registronro.'.htm', "w");
$fp = $fifi;
fputs ($fifi, $out . "");
fclose ($fifi);
mail("[EMAIL PROTECTED]", "subject",$out , "From: website");

but when i receive that mail.. i get the source of the file with <html>
<body> bla bla bla.... not in HTML FORMAT..

thnx in advance!..


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to