PHPList Email Throttling

As we are website hosting provider we have to limit email sending to 250 emails per hour to prevent spam or a strain on the exim mail server. 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.

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

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

These settings tell phplist to send 250 mails per hour.

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.


Last updated: 31 Aug, 2008


Knowledgebase Answers From:
Vision This Hosting – Blog Hosting & Web Hosting Solutions
VisionThisHosting.com