PHP 4.0 Bug #9279 Updated: Declarated fifth param apsent in mail.c
| From: | hholzgra@php.net | Date: | Thu, 15 Feb 2001 14:08:08 +0000 |
| Subject: | PHP 4.0 Bug #9279 Updated: Declarated fifth param apsent in mail.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46658@lists.php.net to get a copy of this message | ||
ID: 9279
Updated by: hholzgra
Reported By: serg@sputnikmedia.net
Old-Status: Open
Status: Assigned
Old-Bug Type: Mail related
Bug Type: Documentation problem
Assigned To:
Comments:
5th parameter was introduced after 4.0.4 release, documentation should mention that
Previous Comments:
---------------------------------------------------------------------------
[2001-02-15 08:55:15] serg@sputnikmedia.net
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9279&edit=2