SMTP for the Mail fucntion in PHP
Posted: 30. August 2007 00:27
Hello, I am trying to use the Mail function in PHP, but I am not sure how to set up either the PHP.ini file or the SMTP.ini file to do so. I tried using the function but I ran into this error message:
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:\xampp\htdocs\xampp\eclipsePHP\formSubmit.php on line 52
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:\xampp\htdocs\xampp\eclipsePHP\formSubmit.php on line 52