hi,
follow this, it is simple.
First upload your images,files inside the server.
write following code.
<?php
$Sender="surendran";
$sendermail="
[email protected]";
$to="
[email protected]";
$subject="hi";
$body="your page contents"; // open your page html code and paste look like $body='<html><body>your page html code</body></html>';
$str='<base href="http://www.servername.com/folder">';
$str=$str.$body;
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $Sender <$sendermail>\r\n";
if($str != "")
{
mail($to, $subject, $str , $headers);
}
else
{
print("<HTML><BODY>Error, no message were sent!");
print("</BODY></HTML>");
}
?>
surendran
(Anything is Possible)
http://ssuren.spaces.msn.com