Re: call to undefined function isError() ??

From: Date: Tue, 18 Nov 2003 13:45:10 +0000
Subject: Re: call to undefined function isError() ??
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9003@lists.php.net to get a copy of this message
Thanks, that's sorted it. has this been changed recently or has it always been the case ?? Thanks, Jon jon bennett | jon@jben.net new media designer / developer _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ J b e n . n e t 91 Gloucester Rd, Trowbridge, Wilts, BA14 0AD t: +44 (0) 1225 341039 w: http://www.jben.net/ On 18 Nov 2003, at 13:26, Pierre-Alain Joye wrote:
On Tue, 18 Nov 2003 13:22:23 +0000 Jon Bennett <jon@jben.net> wrote:
am I right in thinking that the main pear libs aren't being included ???
It returns a PEAR_Error object on failure. Mail_Error object does not exist. Use: $mail =..factory.. if (PEAR::isError($mail)) { } see http://pear.php.net/manual/en/package.mail.mail.factory.php for more infos. hth pierre -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.pear.general (#9003) next »