SOme website hosts have an email policy where shared and reseller customers should only sending out a maximum number of emails per hour.
This article contains specific instructions on how you can tweak the mailing list program, PHPList, to abide by the a shared hosts emailing list policy and send under 500 emails per hour.
How to throttle PHPList:
-
The first step is to locate the configuration file for your phplist installation. If you have installed the script on your domain in a location such as http://www.domain.com/list/, then the physical path will be:
/home/username/public_html/list/config/config.php
In FTP you could see:
/public_html/list/config/config.php
- Download this file to your local PC or edit the file with your file manager in cPanel. If you download this file to your PC, you should use a program such as notepad or wordpad.
- Locate the section of code in this file called "batch processing".
-
Just below "batch processing", you will see some code as in the following example:
Code:
# define the amount of emails you want to send per period. If 0, batch processing
# is disabled and messages are sent out as fast as possible
define("MAILQUEUE_BATCH_SIZE",0);# define the length of one batch processing period, in seconds (3600 is an hour)
define("MAILQUEUE_BATCH_PERIOD",3600);# to avoid overloading the server that sends your email, you can add a little delay
# between messages that will spread the load of sending
# you will need to find a good value for your own server
# value is in seconds (or you can play with the autothrottle below)
define('MAILQUEUE_THROTTLE',0);