I have an error while sending e-mail through a php script. Although I changed all the required settings in php.ini like
SMTP            "localhost"     PHP_INI_ALL      
smtp_port       "25"           PHP_INI_ALL  
sendmail_from   NULL           PHP_INI_ALL   
sendmail_path   NULL           PHP_INI_SYSTEM    
I am using wamp. The received error is this:
[function.mail]: Failed to connect to mailserver at "PHP_INI_ALL" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\mail.php on line 10
Why does this error occur ?