Mail_Queue mail_table

From: Date: Fri, 08 May 2009 14:20:31 +0000
Subject: Mail_Queue mail_table
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29847@lists.php.net to get a copy of this message
Does anyone know why Mail_Queue will NOT accept 'mail_queue2' as a valid entry for mail_table? Trying to create multiple queue tables for different types of emails. Took my 'mail_queue' table def and copied it to 'mail_queue2' and 'mail_queue2_seq'. After several days of fighting with the issue I was able to determine that Mail_Queue is unable to obtain the sequence. Mail/Queue/Container/mdb2.php Line 230: $id = $this->db->nextID($this->sequence); Btw, $this->sequence contained 'mail_queue2'. Return of call contained an error that it cannot get the sequence. Changing it back to use 'mail_queue' works. The solution was to rename 'mail_queue2' and 'mail_queue2_seq' to 'mail2_queue' and 'mail2_queue_seq'. It was then able to successfully get the sequence and populate the queue. Why does a table with a number at the end fail? Did I miss this somewhere in the documentation? Thanks, -Bob

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