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 
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 
about using Return-path: dos'nt work!

Example 3. Sending mail with extra headers and setting an additional command line 

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:

PHP Development Mailing List <>
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