Localhost Problems
Posted: Sat Nov 06, 2004 4:11 pm
Hello guys,
Am trying to test a script locally which is supposed to email something to people and when am trying to send it am getting the following error:
Failed to connect to mailserver at "smtp.localhost.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I have set the smtp on php.in as smtp=smtp.localhost.com and I have run phpinfo to confirm that is looking at localhost and port 25. I have just changed the httpd.conf server to become localhost as well. I dont have any firewalls running either.
Any ideas for this?
Am trying to test a script locally which is supposed to email something to people and when am trying to send it am getting the following error:
Failed to connect to mailserver at "smtp.localhost.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I have set the smtp on php.in as smtp=smtp.localhost.com and I have run phpinfo to confirm that is looking at localhost and port 25. I have just changed the httpd.conf server to become localhost as well. I dont have any firewalls running either.
Any ideas for this?