Thread: mail problem
View Single Post
Old 06-13-2008, 10:37 AM   #1 (permalink)
galleeandfarel
The Wanderer
 
galleeandfarel's Avatar
 
Join Date: Jun 2008
Posts: 15
Thanks: 4
galleeandfarel is on a distinguished road
Bug mail problem

I was trying the send mail to gmail id....from my local server configured with Apache 2.0, PHP 5.2..,, but when the script is executed... the following error is displayed..

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 D:\WEB\MARC\mailer.php on line 3

My php.ini settings:

SMTP localhost
smtp_port 25...
galleeandfarel is offline  
Reply With Quote