PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Queue

Class for put mails in queue and send them later in background.

This package is unmaintained.

Download latest release 1.2.7 (there is a newer Composer installable version)

License: BSD

Description

Class to handle mail queue managment.
Wrapper for PEAR::Mail and PEAR::DB (or PEAR::MDB/MDB2). It can load, save and send saved mails in background and also backup some mails.

The Mail_Queue class puts mails in a temporary container, waiting to be fed to the MTA (Mail Transport Agent), and sends them later (e.g. a certain amount of mails every few minutes) by crontab or in other way.

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#143ClosedBug2003-10-22Mail_Queue_Container_mdb don't accept dsn
#145ClosedBug2003-10-22[Feature Request] setAsSent in sendMailById
#147ClosedBug2003-10-23sendMailsInQueue() questionable failure handling....
#149ClosedBug2003-10-24error in factorySendMail()
#794ClosedBug2004-02-19Out of memory
#881ClosedBug2004-02-26PEAR QA: improvement for get_class()-usage
#1517BogusBug2004-05-27try_sent field
#1916ClosedReq2004-07-20docs need postgresql create table
#1917ClosedBug2004-07-20postgres not supported due to use of quoted int
#1918ClosedBug2004-07-20error reporting should use toString()
#1989ClosedBug2004-07-27db container does not use modify limit query
#1990ClosedBug2004-07-27pear::raiseError called with wrong parameter order
#2050Wont fixBug2004-08-04Messages get sent multiple times
#2098ClosedBug2004-08-09try() function of Body.php incompatible with PHP5
#2279BogusBug2004-09-04Doesn't delete mails
#2300ClosedBug2004-09-08PostgreSQL table definition does not work
#2537DuplicateBug2004-10-15Compatibility with PHP5
#2690DuplicateBug2004-11-04Mail::Queue Not PHP 5 Compatible
#2721ClosedReq2004-11-09Overriding MailQueue Container
#2911ClosedBug2004-12-06Using an invalid db account results in a call to undefined function
#3131ClosedReq2005-01-07Some changes to examples
#3270Wont fixReq2005-01-22Using several instances of Mail_Queue with one table
#3282ClosedReq2005-01-24Mail/Queue.php, confusion in the mysql table example
#4028ClosedReq2005-04-01MS SQL container && persistant SMTP connection
#4092ClosedBug2005-04-06sendMail() doesn't flag mail as sent
#4635BogusBug2005-06-20Large body value trouble
#4707ClosedBug2005-06-29Infinite loop while using get() method
#4748ClosedBug2005-07-05MySQL Only db function
#4752No FeedbackBug2005-07-05sendMailsInQueue - Headers are not deserialized
#5547ClosedReq2005-09-28add 'localhost' to $mail_options in documentation
#5707ClosedBug2005-10-17Bcc functionality lost with Mail::Queue?
#5708ClosedReq2005-10-17Syntax incorrect in constructor Mail_Queue::Mail_Queue() example
#5987ClosedReq2005-11-16Support for Cc and Bcc recipients (patch supplied)
#6192Wont fixReq2005-12-08Send mails according to priority
#6330ClosedBug2005-12-22fatal error on line 122 of db.php
#6376ClosedReq2005-12-30Attachments
#6456ClosedReq2006-01-10Mail_Queue_Error::getRecipient()
#6538ClosedBug2006-01-20Error on mail send causes infinite send loop
#7431Wont fixReq2006-04-20Extend Mail_Queue to allow prioritisation
#7850ClosedBug1.1.32006-06-09constructor doesn't return PEAR Error Object
#7886ClosedReqCVS2006-06-13sendMailsInQueue: problem sending in same second as put
#7903ClosedBug1.1.32006-06-14Put method sec_to_send to acting as expected
#7904ClosedBug1.1.32006-06-14Mail_Mime dependency not listed
#8287BogusBugCVS2006-07-25Period in name is stripped?
#8378ClosedReq1.1.32006-08-07Send all messages in one SMTP connection
#8381ClosedReq1.1.32006-08-07Implement force_preload
#8395No FeedbackBug1.1.32006-08-08setBufferSize( $max_amount_mails + 1 ) increases performance
#8655ClosedBug1.1.32006-09-07Mail_Queue::put() documentation error (return value)
#8659ClosedBug1.1.32006-09-07$mail_queue->get() fails with mdb2 container and sqlite
#8661ClosedBug1.1.32006-09-08date stamp wrong in Mail_queue::put()
#8966Wont fixReq1.1.32006-10-11Features
#9065ClosedBug1.1.32006-10-16MDB2 gives an error
#9219ClosedBug1.1.32006-11-02sendMailsInQueue does not return an ErrorObject
#12521ClosedBug1.2.12007-11-24Mail_Queue not sending mail
#12768ClosedBug1.2.12007-12-23On errors, sendMail marks mail as sent anyway
#13733ClosedBug1.2.12008-04-21sent_time updated on sent failure
#13829ClosedBug1.2.12008-05-03Fatal error
#13906ClosedReq1.2.22008-05-15encoding problem
#14626ClosedBug1.2.22008-09-09array container configuration doesn't work while dns does
#14627DuplicateBug1.2.22008-09-09array container configuration doesn't work while dns does
#14689ClosedDoc2008-09-22User note that is a documentation problem
#14859No FeedbackBug1.2.22008-10-24Call to undefined method Mail_Queue_Error::getRecipient()
#14921ClosedReq1.2.22008-10-30Delay in sendMailsInQueue()
#14998BogusBug1.2.22008-11-12Missing error check.
#15049ClosedReq1.2.22008-11-16Count emails in queue
#15303BogusBug1.2.22008-12-14Unserialize throws error
#15319DuplicateBug1.2.22008-12-16Bad serialization
#16033BogusBug1.2.22009-03-13PDF attachments not getting through
#16064ClosedReq1.2.22009-04-03add a callback system to allow sent mails to be tracked
#16068ClosedReq1.2.22009-04-03Propogate the greeting sent by the mail server to the client - and onwards.
#16207ClosedBug1.2.22009-05-08Mail_Queue will NOT accept 'mail_queue2' as a valid entry for mail_table?
#16208ClosedBug1.2.22009-05-08Fatal error: Call to a member function setOption()
#16218BogusBug1.2.22009-05-11Error on sendMailsInQueue
#16230BogusBug1.2.22009-05-16Call to undefined method Mail_Queue_Error::getRecipient() when send the queue
#16264Wont fixReq1.2.22009-05-26Work in progress flag
#16266Wont fixReq1.2.22009-05-27Move sent mails to other table
#16580ClosedBug1.2.32009-09-09Incorrect install/upgrade path.
#16609ClosedBug1.2.32009-09-15Call to undefined method
#16995ClosedBug1.2.32010-01-14mail stops sending from queue intermiddently
#16997ClosedBug1.2.32010-01-15bad error checking
#17014BogusBug1.2.32010-01-20error object not caught
#17153BogusReq1.2.32010-02-24Transaction Support
#17255BogusReq1.2.32010-03-22Mail_Queue
#17288BogusBug1.2.32010-04-03No DB.php, but necessary
#17316ClosedDoc1.2.32010-04-16documentation re callbacks
#17445BogusReq1.2.32010-05-27Html on Mail_Queue
#17521ClosedBug1.2.32010-06-24Mail_Queue::getQueueCount returns NULL on success
#17598ClosedDoc1.2.32010-07-15Wrong return description for sendMailById()
#17896DuplicateBug1.2.32010-09-26MDB2 Code in Mail_Queue_Container_db::getQueueCount()
#17898ClosedBug1.2.32010-09-27sendMailById() causes Fatal Error on nonexistant id
#17991ClosedBug1.2.42010-10-25Package installed in wrong directory
#17993ClosedBug1.2.52010-10-25Package installed in wrong directory
#18038ClosedReq1.2.62010-11-09Reaching the set limit should not generate an error
#18206BogusBug2011-01-21Mail_Queue produces error messages
#18256ClosedDocUnknown2011-02-09Addition to Mail Queue Tutorial
#18306BogusBugUnknown2011-02-24PEAR Mail_Queue stops on recipient bad syntax
#18391No FeedbackReq1.2.62011-03-23Metadata
#18757ClosedBug1.2.72011-08-24Queue.php missing 'new' on line 477.
#18971Wont fixReqSVN2011-11-08Add error_reporting E_ALL & ~E_STRICT via phpunit.xml
#19378ClosedReq1.2.72012-04-09Cannot preload items: limit
#19436Wont fixReqSVN2012-05-24Multiple senders by putting mail_options into container
#19604Wont fixDoc1.2.72012-09-18Documentation lists function which doesn't exist?
#19627No FeedbackBug1.2.72012-10-01accented letters in email body
#19671BogusDoc2012-10-23User note that is a documentation problem
#19890FeedbackBug1.2.72013-04-09Unable to send mails for some of the mail queue
#20059No FeedbackBugUnknown2013-09-03aklfklas8
#20976FeedbackBug1.2.72015-10-29Making static method non static - isError
#23742ClosedBug1.2.72018-03-14Deprecated message with PHP 7.1
#27165OpenBug1.2.72022-10-06Mail_queue table needs to be updates