Re: PEAR Mail_Queue (Again)

From: Date: Wed, 09 May 2007 13:31:32 +0000
Subject: Re: PEAR Mail_Queue (Again)
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27247@lists.php.net to get a copy of this message
Hi Matthew, Matthew Robinson wrote: > Sorry All, still having problems. > > Thanks for the pointers from yesterday - indeed the issue was with > the database connection parameters. > > Mail_Queue is now working in a simple fashion but I'm trying to > integrate it into some existing code. > > I have an existing class that contains a mail() function that sorts > out my mails from my site. I've changed all the variables around but > when I try to declare the Mail_Queue class the code breaks. > > I'm using: > > include('./config.php'); > $mail_queue =& new Mail_Queue($db_options, $mail_options); > > The code fails at the $mail_queue line. What is the correct way o > calling a new instance of the Mail_Queue class from my class function? More details please! What does "the code fails" mean? Do you get an error message? Do you have this config.php file? Do you have included the Mail/Queue.php file? And what were you doing before? (You wrote: "Mail_Queue is now working in a simple fashion") Regards, Mark -- http://www.markwiesemann.eu

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