PHPList Email Throttling

As we are primarily a website hosting provider we limit email sending to 150 emails per hour. If you wish to send out a mailing list to individuals that agree to receive that email you can use several scripts that support email throttling to do so and meet this requirement.

To limit the amount of email PHPList sends per hour locate your config file for your PHPList installation.

If you have installed the script on your domain with URL like http://www.domain.com/phplist/ then the physical path will be :

/home/username/public_html/phplist/config/config.php

In FTP you would see

/public_html/phplist/config/config.php

2. Download this file to your PC/Mac.

3. Make a backup of this file just in case.

4. Edit the file in a text or html editor of your choice.

5. Locate the section called as "batch processing".

6. Just below you will see some the following 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",0);

# 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);

Replace with:

# 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",100);

# 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',1);

These settings tell phplist to send 100 mails per hour. Why only 100 when there is a 150 email limit? This allows you breathing room for bounce back emails and other emails coming through.

7. Save the file and ftp it back to its original location.

Now you should be able to send emails without any bounces and not overloading the server.


Limiting how much email PHPList sends at a time through throttling.


Share this page:


Was this article useful? Have any suggestions or improvements to the information?

Also Read

Tiki Wiki: Notice: Only variable references should be returned by reference

You can find the latest version of ADODB here. To modify the function to not return a...

osCommerce - This is a potential security risk - please set the right user permissions on this file.

This error is caused when the /includes/configure.php is world writable. To correct this, log...

Moodle: Notice: Only variable references should be returned by reference

Notice: Only variable references should be returned by reference The issue is with Moodle...

How do I reset SMF administrator password?

Reset your SMF admin password First login to your control panel, click on "MySQL" then click on...

Best WP Plugins

The best wp plugins we believe at this time are W3Total Cache, WordFence, Yoast SEO and iThemes...