Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.1

Bug #2561 PEAR_MAIL_FAILED undefined constanst
Submitted: 2004-10-18 16:06 UTC
From: pear at ecme-inc dot dyndns dot org Assigned: jon
Status: Closed Package: Mail
PHP Version: 4.3.9 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-18 16:06 UTC] pear at ecme-inc dot dyndns dot org
Description: ------------ The constant PEAR_MAIL_FAILED on line 121 mail.php included in this package does not exist at all. I found a bug report from April 4 2004, a dev. claims its allreday fixed in CVS. As I wasnt able to find any information how to access CVS I cant check that! Anyway the current stable version of Mail_mime is from 2002 a new stable one might be a good idea. thx a lot keep up the good work. Reproduce code: --------------- mail.php line #121 ================== /* * If the mail() function returned failure, we need to create a * PEAR_Error object and return it instead of the boolean result. */ if ($result === false) { $result = PEAR::raiseError('mail() returned failure', PEAR_MAIL_FAILED); } Expected result: ---------------- Make a new stable release for Mail_mime OR put the account information for anonymous CVS access somewhere where its findable.

Comments

 [2004-10-25 08:27 UTC] christian at wenz dot org
anon CVS information is available at http://www.php.net/anoncvs.php (you can browser the package fiels online at http://cvs.php.net/pear/Mail_Mime/)
 [2004-12-06 05:22 UTC] sean at caedmon dot net
This should be a PEAR::Mail bug, no? S
 [2004-12-21 18:55 UTC] jon
Chuck fixed this back in April: http://cvs.php.net/diff.php/pear/Mail/Mail/mail.php?r1=1.9&r2=1.10&ty=u This fix was released as part of Mail 1.1.4. Please upgrade to that version and try again.