FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16997&edit=1

ID: 16997
Updated by: [email protected]
Reported By: bhuvidya at yahoo dot com dot au
Summary: bad error checking
-Status: Open
+Status: Closed
Type: Bug
Package: Mail_Queue
Operating System: CentOS 3.4.6-9
Package Version: 1.2.3
PHP Version: 5.2.5
-Assigned To:
+Assigned To: till
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: till
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

A fix to this issue has been already committed and will be available
with the next
release:
http://svn.php.net/viewvc/pear/packages/Mail_Queue/trunk/Mail/Queue.php?
revision=293552&view=markup


Previous Comments:
------------------------------------------------------------------------

[2010-01-15 05:22:04] bhuvidya

Description:
------------
Queue.php

i call sendMailsInQueue(), but the call to $this->get() on line
361 returned a Mail_Queue_Error object (because the db
failed to open) - but this object is passed without checking to
sendMail(), which also doesn't check type and php fails
because the call to $mail->getRecipient() on line 433 wasn't
expecting a Mail_Queue_Error object....

should be better error checking back in sendMailsInQueue(),
and anywhere else Mail_Queue::get() is called

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 15, '10 at 12:46p
activeJan 15, '10 at 12:46p
posts1
users1
websitepear.php.net

1 user in discussion

Till: 1 post

People

Translate

site design / logo © 2023 Grokbase