im juz start learning PHP, now having problem on mail function ... hope some1 can help me, thanx alot ... then im testing with this php code ...
<?php
$to = 'dyer607@hotmail.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From:
webmaster@example.com' . "\r\n" .
'Reply-To:
webmaster@example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
but it not working, can some1 help me ... i hav try to configure sendmail, but not really understand it, coz totally new to it
i can send email out to hotmail by using localhost smtp ... so i really no idea y the php mail function not working ...