Best practices for MAILQUEUE settings

Once you've installed phpList... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

Best practices for MAILQUEUE settings

Postby frel » 6:58am, Sun 24 Aug, 2014

My settings are:

define('MAX_PROCESS_MESSAGE',999);
define("MAILQUEUE_BATCH_SIZE",1);
define("MAILQUEUE_BATCH_PERIOD",3600);
define('MAILQUEUE_THROTTLE',1);

define('USE_DOMAIN_THROTTLE',1);
define('DOMAIN_BATCH_SIZE',1);
define('DOMAIN_BATCH_PERIOD',900);

define('DOMAIN_AUTO_THROTTLE',1);
define('MAX_PROCESSQUEUE_TIME',0);

what do you think about it?
frel
PL Nut
 
Posts: 16
Joined: 9:11pm, Sun 15 Jun, 2014

Re: Best practices for MAILQUEUE settings

Postby Dragonrider » 7:39am, Sun 24 Aug, 2014

Going to be pretty slow, you are sending one per hour.

Code: Select all
define("MAILQUEUE_BATCH_SIZE",1);
define("MAILQUEUE_BATCH_PERIOD",3600);


What is the limit on email sending imposed by your host?
For example, 200 per hour you could use:
Code: Select all
define("MAILQUEUE_BATCH_SIZE",200);
define("MAILQUEUE_BATCH_PERIOD",3600);
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Best practices for MAILQUEUE settings

Postby frel » 9:51am, Sun 24 Aug, 2014

I set:

define("MAILQUEUE_BATCH_SIZE",800);
frel
PL Nut
 
Posts: 16
Joined: 9:11pm, Sun 15 Jun, 2014

Re: Best practices for MAILQUEUE settings

Postby Dragonrider » 9:54am, Sun 24 Aug, 2014

frel wrote:I set:

define("MAILQUEUE_BATCH_SIZE",800);


So long as your host allows 800 emails to be sent per hour, that should work and speed up your sending so long as you still are using an hour as time period.
Code: Select all
define("MAILQUEUE_BATCH_PERIOD",3600);
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Best practices for MAILQUEUE settings

Postby danwaterloo » 8:32pm, Tue 02 Sep, 2014

I put together a spreadsheet, where you can type in your batch quantity, batch time, and throttle, and it calculates how many will go out per hour, and suggests a throtte (delay) setting.

http://www.phplistsupport.com/config-ph ... -throttle/

In general, I like to have my send rate reviewed every 10 or 15 mins, so I set my cron jobs to run every 10 or 15 minutes.
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: No registered users and 4 guests