Hi Aris, > Im trying to use mail() function with PHP 4.02 under WIndows NT Server > and IIS > and I allways get Failed to connect > even though the SMPT server in php.ini is setup correctly > and i cna acces that server from webserver > > doing the same thing on WIndows NT Workstation and apache (same version > of PHP) works. > is it something with that PHP version or there is something else i have > to take look at.
Please post the section from php.ini (both of them, if you like). Is the SMTP server on the same or a different box to the NT Server? IMHO: best not to use the SMTP 'stub' in IIS - set the php.ini to go straight to wherever that points! Please advise, =dn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php