Dear Philip_cole
i made the following changes in php.ini..and after changing i again restart my system and chek the php mail script..but nothing came.
Code:
display_errors = On
but when i went through my apache error log i found the following error
Code:
Foundation\\Apache2.2\\htdocs\\Beg\\15\\mail.php on line 5
[Tue May 12 07:00:26 2009] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
---------------------------------------------------------
pls. help me out for the following php script
Code:
<?php
$to = "[email protected]";
$subject = "Your email has been sent!";
$body = "This is a test";
if(mail($to,$subject,$body)){
echo "<b>PHP has sent your email<b>";
}
?>
php.ini
Code:
[mail function]
;For Win32 only.
SMTP = smtp.my.server.net
smtp_port = 25
;For Win32 only.
sendmail_from = [email protected]
Thanx a lot !