try following code
$subject = 'testing';
$message = 'testing';
$to = 'someone <someone @somehwhere.co.uk>';
$headers = "From: you <
[email protected]>\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "Reply-to: you <
[email protected]>\r\n";
$headers .= 'X-Mailer: PHP/' . phpversion()."\n";
if(mail($to, $subject, $message, $headers)){
//success
}else{
//error
}
you the above code replace the emails with your ones. the headers tells that it is html or text
hope it will help
Zerone
Moderator At
www.chatbazaar.com
http://directory.chatbazaar.com