From:             [EMAIL PROTECTED]
Operating system: XP Pro and 2000 Pro
PHP version:      4.1.1
PHP Bug Type:     Mail related
Bug description:  mail() Warning failed to connect

I am running Apache Version Apache/1.3.22 

ScriptAlias /php/ "f:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
LoadModule php4_module f:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php

php script:

<?
ini_set("SMTP", "[EMAIL PROTECTED]");
mail("[EMAIL PROTECTED]", "My Subject", "My Body");
?>

I get 
Warning: Failed to Connect in C:\apache\htdocs\mail_test.php on line 3

The same script works fine on my FreeBSD box. I have seen posts around the
same issue but have not grasped a clear understanding of any type of
resolve.

-Christian
-- 
Edit bug report at http://bugs.php.net/?id=15495&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15495&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15495&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15495&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15495&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15495&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15495&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15495&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15495&r=submittedtwice

Reply via email to