Bug #17568: Fifth parameter doesn't work correct
From: ruudb@stress.utwente.nl
Operating system: Debian GNU/Linux 2.2
PHP version: 4.2.1
PHP Bug Type: Mail related
Bug description: Fifth parameter doesn't work correct
A small scripting part:
--=[ CUT ]=--
$params="-f".$userinfo[$i][sa_email]." -O deliverymode=q";
mail($to, $subject, $message, $header, $params);
--=[ CUT ]=--
This used to work in the PHP 4.0.6 version, but since 4.1.0 this results
in sendmail errors:
Jun 2 23:49:38 iBBS-01 sendmail[2930]: XAA02930:
to=removed.address@stress.utwente.nl -O deliverymode=q, delay=00:00:00,
xdelay=00
:00:00, mailer=esmtp, relay=stress.utwente.nl.-o.deliverymode=q, stat=Host
unknown (Name server: stress.utwente.nl.-o.delivery
mode=q: host not found)
I think the sequence in which paramters are offered to sendmail has
changed from PHP 4.0.6 to PHP 4.1.0. The problem still persists in PHP
4.2.1.
--
Edit bug report at http://bugs.php.net/?id=17568&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17568&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17568&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17568&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17568&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17568&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17568&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17568&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17568&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17568&r=globals
Thread (7 messages)
- ruudb at stress dot utwente dot nl