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.
January 2008
Number 2
Prize: One copy of the Zend Studio |
Many sites need to send newsletters to their subscribers.
When the newsletters have many subscribers, it may not be possible to send the messages to all users within the PHP script execution limit. In shared hosting it may also not be possible to increase that limit.
This class implements an alternative solution that consists in storing the newsletter messages and the subscriber e-mail addresses in a MySQL database table.
This way, a PHP script started periodically, for instance by a task scheduler like cron, can take care of the delivery. It sends small batches of newsletter messages, so it does not exceed the PHP execution time limit.
Manuel Lemos |
|
Packages needed by this class |
|
|
Pages that reference this package |
|
|
Acymailing [plugin joomla] ecco qua il link per scaricare... |
Blog Summary Email? This definitely falls into the category of a 'hack' - so take it with a grain of salt. I thought others my benefit from the approach as a temporary solution... |
Newsletter Queue mit PHP Wer massenweise Newsletter versendet, und ich meine wirklich massenweise: Wenn mehrere tausend Mails der Regelfall sind, ist es der Web- und Mailserver-Performance zuträglich, wenn man eine Queue verwendet... |
Programarea orientata pe obiecte Acesta este prim-ul tutorial video, in care vorbesc despre programarea orientata pe obiecte, in acest tutorial incerc sa arat, doar o metoda de baza in POP(Programarea Orientata pe Obiecte), am folosit deasemenea o clasa de mysql,pentru a arata procedura in POP, in tutorialele urmatoare, vom patrunde mai adanc in continut-ul clasei de Mysql, si deasemenea a POP... |
Latest pages that reference packages
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|