> > > A client is having trouble setting up SMTP services on their > > > Windows NT machine so PHP can access it through the mail() function. > > > > > > SMTP is set to mail.theserver.com in the php.ini. > > > Mail() works when set to a different mail server. > > > If they're on the same machine, why dont you use > > localhost instead? > > Try a newer version of PHP. This was a known issue with older > versions, and should be fixed in 4.0.2. This was my report, although in > truth I can't recall if I ever went back and tried it with 4.1: > > http://bugs.php.net/bug.php?id=5743 > > The symptom was that it would hang trying to connect.
=assume you've tried PINGing the mail server address/name resolution. =try using IP address (if static) =local SMTP server not needed (on Win - different for *nix) - on Windows you may use any server, eg ISP's (in case that's any help - from the first para, it seems that you may only be installing the server to use PHP mail() facility) =Regards, =dn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php