Here is the file to email with:
<html>
<head>
</head>
<body>
<?
$email = file("test.html");
$count = count($email);
for($i=0; $i<$count; $i++)
{
$contents = "$contents$email[$i]\n";
}
echo $contents;
mail("me@me.com", "Hello How Are YOU", "$contents");
?>
</body>
</html>
here is $email
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<b>Hello How Are You?</b>
</body>
</html>
How do I send html pages with the mail() function? Thanks