Heres a small function I use:
function sendMail($mailto, $subject, $msg) {
$headers .= "From: yourdomain.com <donotreply@yourdomain.com>\n";
$headers .= "Content-Type: text/html\r\n";
$msg = "<html><body><font style=\"font-family:Verdana, Tahoma, Arial, sans-serif; font-size:10pt; color:#000000;\">$msg</body></html>";
mail($mailto, $subject, $msg, $headers);
}
Hope this helps?
Ad.