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

Request #6456 Mail_Queue_Error::getRecipient()
Submitted: 2006-01-10 18:56 UTC
From: mail at AndreBrueck dot de Assigned: till
Status: Closed Package: Mail_Queue
PHP Version: 5.0.5 OS: linux
Roadmaps: 1.2.3    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 21 - 21 = ?

 
 [2006-01-10 18:56 UTC] mail at AndreBrueck dot de
Description: ------------ Hello, i becam an error when I run the Mail_Queue tutorial from the documentation. I cant find the Problem. On display I becam the following Message: Fatal error: Call to undefined method Mail_Queue_Error::getRecipient() in /usr/share/php/Mail/Queue.php on line 361 Expected result: ---------------- Fatal error: Call to undefined method Mail_Queue_Error::getRecipient() in /usr/share/php/Mail/Queue.php on line 361

Comments

 [2006-01-10 19:22 UTC] quipo
please post your full script, and the line where you're getting the error. Anyway, always remember to do an error check after every method invocation: $res = $mq->doSomething(); if (PEAR::isError($res)) { //uh-oh... }
 [2006-01-10 21:50 UTC] mail at AndreBrueck dot de
hab mein Problem gelöst, lag an ner falschen Datenbankstruktur.
 [2006-12-24 19:26 UTC] cellog (Greg Beaver)
not a bug = bogus
 [2008-12-30 10:29 UTC] eduardo (Eduardo Rosa)
Hi, That's seem to be hard to find the solution, then a maybe thats help somebody. When: $db_options['type'] = 'mdb2'; $db_options['dsn'] = 'mysql://...'; Changing to 'db' solves the problem! Thanks a lot
 [2009-05-16 05:08 UTC] shadow_man (Arige Theo)
I have de same Bug
 [2009-05-17 00:14 UTC] simfre (Simon Fredriksson)
The problem reported is caused by bad database permissions. I'm using it with MySQL backend and switched to a user with more perms and it started working. You need SELECT on the DB + select, update, delete on the table. /Simon
 [2009-08-28 03:32 UTC] reddirt_development (Maureen Adams)
Hey, I had the same error - mine was caused because I had computed my $max_amount_emails value and forgot to cast it to an int in my $mail_queue->sendMailsInQueue($max_amount_mails) call, therefore this call was passing a float, and the $recipient = $mail->getRecipient(); call in Queue.php:sendMail() eventually returned a db error because of the float.
 [2009-09-04 05:13 UTC] till (Till Klampaeckel)
-Status: Bogus +Status: Closed -Type: Bug +Type: Feature/Change Request -Assigned To: +Assigned To: till -Roadmap Versions: +Roadmap Versions: 1.2.3
I'm gonna log this as an improvement since I added checks for the parameters in Mail_Queue::sendMailsInQueue() (r288015).