[dev] PEAR_INSTALLDIR

Michael Bull mbull@uoguelph.ca
Fri, 05 Jan 2001 14:35:22 -0500


At 02:13 PM 05/01/2001 -0500, you wrote:
>I just committed a fix to the PHP 4.0.5 tree that should fix the
>problem of PEAR_INSTALLDIR not being substituted in pear/PEAR.php.
>This should fix the problem people were experiencing with IMP 2.3 and
>sending mail ($mail not undefined, or some such error).

Does this require an update of PHP, or would PHP 4.04-stable and the latest 
PEAR work properly?





>From chuck@horde.org Date: Fri,  5 Jan 2001 14:56:45 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 19842 invoked from network); 5 Jan 2001 19:57:37 -0000
Received: from r93aag000369.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 5 Jan 2001 19:57:37 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id E061C39A2; Fri,  5 Jan 2001 14:56:45 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Fri,  5 Jan 2001 14:56:45 -0500
Message-ID: <978724605.3a5626fdc40fd@marina.horde.org>
Date: Fri,  5 Jan 2001 14:56:45 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <978723171.3a56216333466@www.the-triumvirate.net>
In-Reply-To: <978723171.3a56216333466@www.the-triumvirate.net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.6-cvs
Subject: Re: [dev] Mail::parseHeaders()

Quoting Max Kalika <max@the-triumvirate.net>:

> 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.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues