Bug #15495 Updated: mail() Warning failed to connect

From: Date: Mon, 11 Feb 2002 09:33:52 +0000
Subject: Bug #15495 Updated: mail() Warning failed to connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107@lists.php.net to get a copy of this message
ID: 15495 Updated by: wez@php.net Reported By: chris_essner@yahoo.com Status: Bogus Bug Type: Mail related Operating System: XP Pro and 2000 Pro PHP Version: 4.1.1 New Comment: Haven't yahoo recently switched to authenticated smtp? I believe you need to log in to your POP3 mailbox from the machine that you want to send mail from, otherwise it will not allow you to connect. Previous Comments: ------------------------------------------------------------------------ [2002-02-11 03:18:03] chris_essner@yahoo.com If that last comment I made were true, however, why am I not getting the same error message on the FreeBSD box? ------------------------------------------------------------------------ [2002-02-11 03:16:47] chris_essner@yahoo.com My apologies. It looks as though one must be sure of their smtp server. I am trying to use smtp.mail.yahoo.com with a vaild @yahoo.com address but it is still not working. ------------------------------------------------------------------------ [2002-02-11 03:04:03] chris_essner@yahoo.com I'll be sure to follow your request to throw this into the support forum but I think this is a bug regardless. ------------------------------------------------------------------------ [2002-02-11 02:48:48] mfischer@php.net The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-02-11 00:42:09] chris_essner@yahoo.com 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 this bug report at http://bugs.php.net/?id=15495&edit=1

« previous php.bugs (#107) next »