Re: Windows NT SMTP Set Up Help Needed
| From: | DL Neil | Date: | Tue, 05 Feb 2002 15:23:50 +0000 |
| Subject: | Re: Windows NT SMTP Set Up Help Needed | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11830@lists.php.net to get a copy of this message | ||
> > > 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