#19032 [NEW]: Mail function multiple additional params

From: Date: Thu, 22 Aug 2002 06:48:00 +0000
Subject: #19032 [NEW]: Mail function multiple additional params
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17500@lists.php.net to get a copy of this message
From: karl@cactuslab.com Operating system: Redhat Linux 7.2 PHP version: 4.1.2 PHP Bug Type: Mail related Bug description: Mail function multiple additional params 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 bug report at http://bugs.php.net/?id=19032&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19032&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19032&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19032&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19032&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19032&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19032&r=support Expected behavior: http://bugs.php.net/fix.php?id=19032&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19032&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19032&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19032&r=globals

« previous php.bugs (#17500) next »