October 8th, 2000, 11:35 AM
I have a problem getting the mail function to work on a winnt system using IIS 5.0. I have PHP 4.02pl1 installed, ISAPI. All other php code seems to work fine, but when I try sending mail with the mail()function, i get an "Warning: Failed to Connect in D:wwwform.php on line X", where X is the line that the mail() command is on in the
code. I have SMTP services setup with IIS, so in my php.ini file my smtp is localhost. I've also tried using external smtp servers, but I get the same error. I've tested the code on Unix machines, and it works fine there. Is there some setting i'm missing in NT?
thanks in advance
October 9th, 2000, 02:04 AM
Maybe use 127.0.0.1 or the actual IP address instead of localhost??