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?
> 
> 
> -- 
> 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