PHP 4.0 Bug #9279: Declarated fifth param apsent in mail.c

From: Date: Thu, 15 Feb 2001 13:55:15 +0000
Subject: PHP 4.0 Bug #9279: Declarated fifth param apsent in mail.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-46656@lists.php.net to get a copy of this message
From: serg@sputnikmedia.net Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Mail related Bug description: Declarated fifth param apsent in mail.c 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("nobody@aol.com", "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. -- Edit Bug report at: http://bugs.php.net/?id=9279&edit=1

« previous php.dev (#46656) next »