#21081 [Com]: SMTP set to localhost or 127.0.0.1 doesn't work.
| From: | 007 at pathcom dot com | Date: | Tue, 24 Dec 2002 18:39:12 +0000 |
| Subject: | #21081 [Com]: SMTP set to localhost or 127.0.0.1 doesn't work. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28332@lists.php.net to get a copy of this message | ||
ID: 21081
Comment by: 007@pathcom.com
Reported By: 007@pathcom.com
Status: Feedback
Bug Type: Mail related
Operating System: Windows 2000
PHP Version: 4.2.2
New Comment:
The bug seems to be with the php-4.2.2-installer.exe version on Windows
2000. If the mail is sent to ""Mary <mary@example.com>"(as written in
the PHP manual) and if the PHP SMTP setting is set to "Localhost", then
the mail will not be sent and you will get a "Warning: Server Error in
..." error message. This does not happen if I use ASP with CDONTS to
send the same recipient format, so I know the problem is not with
Microsoft'a SMTP server. It also doesn't happen if the mail is sent
with PHP, still sending to "Mary <mary@example.com>" but with SMTP set
to an outside SMTP server.
Has this been fixed in the PHP Manual and/or in PHP 4.2.3?
Previous Comments:
------------------------------------------------------------------------
[2002-12-23 08:38:20] 007@pathcom.com
My SMTP server (local) outgoing service is set to anonymous
authentication and so requires no user name or password to send
outgoing mail.
------------------------------------------------------------------------
[2002-12-19 18:52:08] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Is your SMTP server (local) using any sort of authentication scheme?
------------------------------------------------------------------------
[2002-12-18 12:38:36] 007@pathcom.com
I am using PHP versio 4.2.2 on Windows 2000, installed with
php-4.2.2-installer.exe.
MS SMTP is running and works fine with CDONTS in ASP.
But PHP cannot send email if php.ini is set to SMTP =localhost or to
SMTP =127.0.0.1.
It does work if set to my ISP's SMTP server.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21081&edit=1