RE: [PHP-WIN] Windows NT SMTP Set Up Help Needed
| From: | Charlie Killian | Date: | Thu, 24 Jan 2002 16:46:31 +0000 |
| Subject: | RE: [PHP-WIN] Windows NT SMTP Set Up Help Needed | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11626@lists.php.net to get a copy of this message | ||
I'm still receiving the error: Warning:
Server Error in E:\Inetpub\wwwroot\ckmailtest.php on line 22
The SMTP and sendmail_from configuration are set correctly. I know this
because when I change SMTP to a third party SMTP server the script works.
However, I still can't get the mail services on WindowsNT and PHP on the
same machine to connect.
Is there any security features in WindowsNT that I should update?
Charlie
> > 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.
> > PHP and the mail services are on the same machine.
> > The SMTP server is open on port 25 and resolves locally.
> > A MX record has been defined.
>
> If they're on the same machine, why dont you use
> localhost instead?
>
> SMTP = localhost
>
> there's also a
> sendmail_from = abc@123.com
>
> entry in php.ini that's win32 specific
>
> /Martin