How to throttle outgoing email with PHPList

This article contains specific instructions on how you can tweak the mailing list program, PHPList, to abide by the AryanIct mailing list policy and send under 500 emails per hour. PHPList is available for automatic install through Fantastico, which is located in your cPanel.

How to throttle PHPList:

  1. 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 ashttp://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

  2. 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.

  3. Locate the section of code in this file called "batch processing".

  4. 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
    define("MAILQUEUE_BATCH_SIZE",0);

    # define the length of one batch processing period, in seconds (3600 is an hour)
    define("MAILQUEUE_BATCH_PERIOD",3600);

    These are the default settings. We will be replacing those to keep the mails under 500/hour. Here is the code I suggest:

    Code:
    	# define the amount of emails you want to send per period. If 0, batch processing
    # is disabled
    define("MAILQUEUE_BATCH_SIZE",480);

    # define the length of one batch processing period, in seconds (3600 is an hour)
    define("MAILQUEUE_BATCH_PERIOD",3600);

    These settings tell PHPList to send 480 mails per hour. The remaining 20 emails per domain can be used for normal mailing operations if needed.

  5. Save the file and, if downloaded, FTP it back to it's original location. Please, remember to take a backup of the original file just in case you mess up. Now you should be able to send mails without any bounces and not overloading the mailserver.

  • 21 Users Found This Useful
Was this answer helpful?

Related Articles

Email Troubleshooting

Email Troubleshooting to get your mail working:Email TroubleshootingMake sure your user name and...

How many emails can I send out per hour?

We allow up to 500 emails to be sent out per hour on our shared and reseller servers. This will...

Missing folders after converting to maildir

If you come from a host who does not use maildir, we must convert your email. Once the...

How to access your email through cPanel

There are several ways to read your email. Normally, users will go to your domain...

Does your e-mail client suddenly claim your password is wrong even though you have not changed any settings?

All of our shared servers have a 60 check per hour limit. If you hit this limit in any hour...