Bug #15495: mail() Warning failed to connect
| From: | chris_essner at yahoo dot com | Date: | Mon, 11 Feb 2002 05:42:10 +0000 |
| Subject: | Bug #15495: mail() Warning failed to connect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-95@lists.php.net to get a copy of this message | ||
From: chris_essner@yahoo.com
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", "blah@blah.com");
mail("me@blah.com", "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