Spiga

Newsletter Queue

This class can be used to queue newsletters in a MySQL database for delivering later.

It can add newsletter messages to a queue that is actually a table in a MySQL database. It stores the message sender, recipient, subject and the body text.

A separate process, eventually started by a task scheduler program like cron, calls the class queries the queue database table to retrieve the details of the messages pending to be delivered.
When a pending message is delivered, the respective database record is removed.
Each run of the delivery process only execute for a limited period of time.

To download the class access the page at phpclases.org by following the link below :

View PhpClases Page