Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

From: Date: Tue, 21 May 2002 02:57:55 +0000
Subject: Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8052@lists.php.net to get a copy of this message
ID: 17322 Updated by: chris@dvdplaza.com.au Reported By: chris@dvdplaza.com.au Status: Feedback Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.0CVS-2002-05-20 New Comment: The simplest example would probably be the one below, since the addresses are all hardcoded (simply an auto-notification for myself) whereas all other mailings are obviously dynamic: mail('form@dvdplaza.com.au', 'Invite Issued To ' . $PlazaUser[username], 'An invite was just produced for: ' . $PlazaUser[username], 'From: "DVD Plaza (Support)" <support@dvdplaza.com.au>'); Previous Comments: ------------------------------------------------------------------------ [2002-05-20 19:09:31] mfischer@php.net Finally! You're the first who uses the updated win32/mail() code it seems. This error response you get seems really bogus. Can you try to cut down the *exakt* parameters you pass to the mail() function which causes this error? ------------------------------------------------------------------------ [2002-05-20 19:05:19] chris@dvdplaza.com.au Since upgrading to the CVS of PHP 4.3 (HAD to - bug #16626 was causing us chronic chaos and this was the only means to correct it) I am getting the following error each time a script tries to e-mail: PHP Warning: mail() SMTP server response: 501 Syntax Error in parameters or arguments in *SCRIPTNAME* on line xxx PHP 4.3 is running as an Apache2 module on W2K, only additional module loaded is GZIP. Never had any e-mail problems before (other than time stamps on PHP e-mails being incorrect, a long-time known bug). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17322&edit=1

« previous php.bugs (#8052) next »