For the following code :
if (mail($to, $from,$subject, $body,"From:$from/r/nReply-to:$from"))
{
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
I get error as
PHP Warning: mail() [function.mail]: Failed to connect to mailserver
at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in
php.ini or use ini_set() in
C:\Inetpub\wwwroot\sakec\acceptrequest1.php on line 47
Inspite of the fact that i have set the smtp port settings to "25"
I hv also removed ';' from "mail.force_extra_parameters ="
Is this error due to wrong setting in php.ini or due to some error in
my PC