ID: 21081 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>"(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 <[EMAIL PROTECTED]>" 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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