Thread: php4 and WINNT

  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Rep Power
    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
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Caro, Michigan
    Rep Power
    Maybe use or the actual IP address instead of localhost??

Similar Threads

  1. PHP4, MySQL, WinNT Server 4 SP 6
    By xyz in forum PHP Development
    Replies: 1
    Last Post: August 1st, 2000, 11:10 AM
  2. PHP4 & get_browser
    By mkhouse in forum PHP Development
    Replies: 0
    Last Post: July 20th, 2000, 04:30 PM

IMN logo majestic logo threadwatch logo seochat tools logo