ID: 9279 Updated by: derick Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: Documentation problem Assigned To: Comments: Fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2001-02-15 09:08:07] [EMAIL PROTECTED] 5th parameter was introduced after 4.0.4 release, documentation should mention that --------------------------------------------------------------------------- [2001-02-15 08:55:15] [EMAIL PROTECTED] Declarated fifth param ( )at http://www.php.net/manual/en/function.mail.php is apsent in mail.c from php-4.0.4pl1.tar.gz ;( bool mail (string to, string subject, string message [, string additional_headers [, string additional_parameters]]) string additional_parameters - don't have any code in mail.c And this example from http://www.php.net/manual/en/function.mail.php about using Return-path: dos'nt work! Example 3. Sending mail with extra headers and setting an additional command line parameter. mail("[EMAIL PROTECTED]", "the subject", $message, "From: webmaster@$SERVER_NAME", "-fwebmaster@$SERVERNAME"); such code give us error ======= Warning: Wrong parameter count for mail() ======= bcos, as i say, in mail.c don't present any code about 5'th param :( -- Sorry for my bad english. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9279&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]