PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail » Bug #2561

PEAR_MAIL_FAILED undefined constanst

Details

Submitted2004-10-18 16:06 UTC
Frompear at ecme-inc dot dyndns dot org
Assignedjon
StatusClosed
PackageMail
PHP Version4.3.9
OSLinux
Roadmaps(Not assigned)

Comments

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

[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