Re: Re: PEAR::Mail fails
| From: | Tony van der Hoff | Date: | Sat, 10 Mar 2007 09:45:44 +0000 |
| Subject: | Re: Re: PEAR::Mail fails | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26805@lists.php.net to get a copy of this message | ||
On 9 Mar at 20:09 bertrand Gugger <toggg@php.net> wrote in message
<45F1BEFE.6000904@php.net>
> Bonsoir
> Tony van der Hoff wrote:
[snip]
> > Has anyone here have any suggestions as to where I'm going wrong,
> > please?
> >
>
> What version of Auth_SASL do you have ? pear info Auth_SASL
>
> With a quick glance, maybe this is corrected in the version 1.0.2, you
> might upgrade if you have a lower version
Bonjour Bertrand,
Indeed, you've hit the nail on the head! I feel a bit of a fool for not
spotting this myself, so thanks very much for pointing it out. It seems
Mandriva 2007.0 distro and rpms is out of date :(
Now upgraded, and all is well, cheers!
It appears, by some quirk of the language, that you can't do this:
return new $classname();
whils this is OK:
$obj = new $classname();
return $obj;
Can anyone explain, please?
--
Tony van der Hoff | mailto:tony@vanderhoff.org
Buckinghamshire, England