ID: 17322 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] 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('[EMAIL PROTECTED]', 'Invite Issued To ' . $PlazaUser[username], 'An invite was just produced for: ' . $PlazaUser[username], 'From: "DVD Plaza (Support)" <[EMAIL PROTECTED]>'); Previous Comments: ------------------------------------------------------------------------ [2002-05-20 19:09:31] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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