#19032 [Opn->Bgs]: Mail function multiple additional params

From: Date: Thu, 22 Aug 2002 07:12:40 +0000
Subject: #19032 [Opn->Bgs]: Mail function multiple additional params
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17502@lists.php.net to get a copy of this message
ID: 19032 Updated by: derick@php.net Reported By: karl@cactuslab.com -Status: Open +Status: Bogus Bug Type: Mail related Operating System: Redhat Linux 7.1 PHP Version: 4.1.2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2002-08-22 03:05:23] karl@cactuslab.com When using the mail() function to add multiple additional parameters, eg. -fbounce@mydomain.com -O DeliveryMode=d These do not get added as separate parameters, they instead get bundled into the Envelope-from address as one. I'm guessing that the additional parameters arg is being passed to sendmail as one argument rather than being split on spaces? eg. mail( "karl@cactuslab.com", "subject", "Hello", "From: karl@cactuslab.com", "-fbounce@cactuslab.com -O DeliveryMode=d" ); This has occurred after upgrading to 4.1.2 release 7.1.3. This appears to be related to this errata http://online.securityfocus.com/archive/1/194425. cheers, k@rl ------------------------------------------------------------------------ [2002-08-22 02:48:00] karl@cactuslab.com When using the mail() function to add multiple additional parameters, eg. -fbounce@mydomain.com -O DeliveryMode=d These do not get added as separate parameters, they instead get bundled into the Envelope-from address as one. I'm guessing that the additional parameters arg is being passed to sendmail as one argument rather than being split on spaces? eg. mail( "karl@cactuslab.com", "subject", "Hello", "From: karl@cactuslab.com", "-fbounce@cactuslab.com -O DeliveryMode=d" ); cheers, k@rl ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19032&edit=1

« previous php.bugs (#17502) next »