From:             [EMAIL PROTECTED]
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("[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.
      
 



-- 
Edit Bug report at: http://bugs.php.net/?id=9279&edit=1



-- 
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]

Reply via email to