I get a 'Failed to Connect' error when I use the mail() function. I am using PHP4 and the Xitami web server on Win98 using all the default settings. Is there something additional I need to configure in order to use the mail() function? Any ideas would be greatly appreciated.
Try to double-check whether the path to your mail server in php.ini is set up correctly...
Boris Belobrad Belcom Bailey LLC www.belcombailey.com
Where you ever able to solve this problem, as I am getting the same problem. I am using Win98, apache, Php4
If so what variables i need to modify.
Thanks for your help Vipul
Yes, it works now. I had to specify the path to my mail server in the 'php.ini' file.
The directive is 'SMTP= path.to.your.mail.server'