From:             [EMAIL PROTECTED]
Operating system: windows 2000/xp
PHP version:      4.2.1
PHP Bug Type:     Mail related
Bug description:  If specifying a "To:" line in extras it dupliates the addresses

For the last year Ive been writing a system which heavily relies on Emails.
To help people use the system, when it Emails them, it will attach a name
to their actual name. EG: Liz Kimber - Authoriser, or Liz Kimber -
Requester.

To do that, I use the following code

mail ($toaddr,"Subject","data","From: Purchasing System\nTo: $name -
$action <$toaddr>");

Mails used to then arrive as

From: Purchasing System
To: Liz Kimber - Authoriser

Now, they arrive

From: Purchasing System
To: Liz Kimber; Liz Kimber - Authoriser

This code worked marvelously till version 4.2.x :(( this system is due to
go live very shortly.  Im trying to win my company over to PHP and I dont
want it to look naff as it does. I will have to revert to 4.1.x, but, it
would be appreciated if we can get this fixed, or at least if Im being
numb, and someone can make this work.. please..

(Mail server is exchange 2000, although I dont think this is relevant)
-- 
Edit bug report at http://bugs.php.net/?id=17541&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17541&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17541&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17541&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17541&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17541&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17541&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17541&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17541&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17541&r=globals

Reply via email to