PHPList/How to Throttle Outgoing Messages

From ReduxWiki

Jump to: navigation, search

[edit] Mail limit (shared environment)

Resource limits are in place due to being within a shared environment which is beneficial for any (all) users residing on that server.


[edit] phpList (config.php)

# batch processing
# if you are on a shared host, it will probably be appreciated if you don't send
# out loads of emails in one go. To do this, you can configure batch processing.
# Please note, the following two values can be overridden by your ISP by using
# a server wide configuration. So if you notice these values to be different
# in reality, that may be the case

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

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

http://docs.phplist.com/PhpListConfigSendRate

Back to PHPList


Image:Tip.png Back to How To Documents
Personal tools