From:             [EMAIL PROTECTED]
Operating system: RH 7.x
PHP version:      4.0.6
PHP Bug Type:     Unknown/Other Function
Bug description:  Remove the "To:/Subject:" headers if not entered

mail command accept:
mail ($recipient, $subject, $message [, string additional_headers]);
all good.

But when I construct all the mail from headers I don't need to supply:
$recipient, $subject, $message as they all exist in the headers.

So I do:
mail ("", "", "", $headers);

The problem is that even when I write the "To:" header in the headers
another empty "To:" appear next to it.

So for maximal flexibility I think that $headers suppose to override all
other fields.
-- 
Edit bug report at: http://bugs.php.net/?id=14799&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