<?php
$page = fopen("www.xyz.com/toc.html", "r");
$limit = file_size("www.xyz.com/toc.html");
if (!$page){print "Ooops! Are you sure that page exists?";
die;}
else {
while ( !feof($page) )
{$content = fgets($page, $limit);}
}
fclose($page);
$header = "Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Type: text/html";
mail("cool@mild.com", "message subject", $content,
$header);
?>
HTH,
Luciano ES
Santos - SP - Brasil