[dev] Mail::parseHeaders()

Jon Parise jon@csh.rit.edu
Fri, 5 Jan 2001 15:01:11 -0500


On Fri, Jan 05, 2001 at 02:56:45PM -0500, Chuck Hagenbuch wrote:

> > After three of my messages got sucked into oblivion, I began to get 
> > suspecious.  There's a tiny bug in Mail.php that munges the from address and
> > causes sendmail to set the outgoing envelop address to just '@'. 
> > (Mail_rfc822::parseAddressList() returns a two dimentional array, but 
> > Mail::parseHeaders() was only looking at the first index)
> 
> Actually, the problem was that parseAddressList() should be passed a third 
> parameter of false to get back a flat array. I've just fixed it in PEAR cvs.

Looks like we collided.  You go ahead and fix this one. =)

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member