Here it is... it was from Court Shrock.  Not sure if this is the same
situation you're in or not, but it might help.

Sorry to bother everyone...found the cause....SMTP on IIS5 doesn't bind
to 127.0.0.1 by default.  Changed php.ini to use the ip address of its
interface and the everything worked.  Found this out by putting the same
script on a different server, but pointing smtp to the original server.

On Mon, 2002-09-09 at 12:43, Court Shrock wrote:
> When trying to (and nothing more):
>
> <?php
> mail('[EMAIL PROTECTED]', 'Subject', 'Body');
> ?>
>
> getting the message "Failed to receive: in path_the_file_being_run".
>
>
> Tried php v4.1.2 and 4.2.3 with the same results.
>
>
> The box is Win2k server and IIS5.  A SMTP relay is listening on
> localhost.  The php.ini settings are set to point to 'localhost' (a
> valid email address is set in sendmail_from).  Testing the MTA by itself
> works properly.
>
> http://bugs.php.net hint that is was fixed in CVS back in 2000.   Any
> ideas?
>

----- Original Message -----
From: "Codejay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 22, 2002 1:23 PM
Subject: [PHP-WIN] Mail tag?


> Has anyone experienced a problem with the mail tag after upgrading?  My
> php.ini still has the same path to sendmail and I can't send mail through
> php anymore.  None of my sendmail configuration has changed at all.  any
> ideas?
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to