Click to See Complete Forum and Search --> : Sending Mail from WinNT (PHP 4.02, IIS)


Anon
02-27-2002, 12:54 PM
Hi
im trying to send email using mail() from an WIndowsNT server running PHP 4.02 and IIS but all i get is
Could not connect
even though i put right value for a SMTP server in php.ini
and i can telnet to port 25 of that mail server from this webserver.
Does anyone have solution for this problem
or could this be a bug in this PHP version
I tryed using mail() on WinNT same PHP verson adn apache and it worked.

Anon
02-27-2002, 01:13 PM
Are you sure it is actuallyreading the php ini file ? sometimes, it cannot find it or the permissions are wrong.

Anon
02-27-2002, 01:23 PM
Im pretty much sure. I tested it with phpinfo() that all the setting are corect.