Re: sending mail with mail()
| From: | DL Neil | Date: | Wed, 27 Feb 2002 18:01:37 +0000 |
| Subject: | Re: sending mail with mail() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12330@lists.php.net to get a copy of this message | ||
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