Hi friends,
When I'm trying to use the mail() function I got the following error :
Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() .
I'm currently using PHP 2.0.0b1 and "localhost" (Apache) as the web server.
PHP 2???
Do I have to install a seperate STMP server?
If you're trying to send mail thru localhost, localhost needs to have a running MTA (sendmail, qmail, etc), and that MTA needs to be configured to accept mail from localhost (default for all that I know), and relay for mail sent from localhost.
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php