I have about 500 subscribers. I want to send the emails out over an hour.
These are the relevant settings in my config.php
:
define('MAILQUEUE_BATCH_SIZE', 500);
define('MAILQUEUE_BATCH_PERIOD', 3600);
define('MAILQUEUE_THROTTLE', 0);
define('MAILQUEUE_AUTOTHROTTLE', 1);
define('MAX_PROCESSQUEUE_TIME', 0);
But the logging email shows that only about half are being sent:
[Sun 10 Nov 2024 12:45] [CL] Sending in batches of 500 emails
[Sun 10 Nov 2024 12:45] [CL] Processing has started,
[Sun 10 Nov 2024 12:45] [CL] One campaign to process.
[Sun 10 Nov 2024 12:45] [CL] Processing campaign 18
[Sun 10 Nov 2024 12:45] [CL] Looking for subscribers
[Sun 10 Nov 2024 12:45] [CL] Found them: 469 to process
[Sun 10 Nov 2024 13:14] [CL] Processed 469 out of 469 subscribers
[Sun 10 Nov 2024 13:14] [CL] Script stage: 5
[Sun 10 Nov 2024 13:14] [CL] 246 messages sent in 1771.21 seconds (499 msgs/hr)
[Sun 10 Nov 2024 13:14] [CL] 223 failed (will retry later)
It doesn’t say why those 223 failed. 30 minutes after sending stops, it restarts but doesn’t get very far:
[Sun 10 Nov 2024 13:45] [CL] Sending in batches of 500 messages
[Sun 10 Nov 2024 13:45] [CL] This batch will be 254 emails, because in the last 3,600 seconds 246 emails were sent
[Sun 10 Nov 2024 13:45] [CL] Processing has started,
[Sun 10 Nov 2024 13:45] [CL] One campaign to process.
[Sun 10 Nov 2024 13:45] [CL] Processing campaign 18
[Sun 10 Nov 2024 13:45] [CL] Looking for subscribers
[Sun 10 Nov 2024 13:45] [CL] Found them: 223 to process
[Sun 10 Nov 2024 13:45] [CL] Processed 223 out of 223 subscribers
[Sun 10 Nov 2024 13:45] [CL] Script stage: 5
[Sun 10 Nov 2024 13:45] [CL] 7 messages sent in 50.97 seconds (494 msgs/hr)
[Sun 10 Nov 2024 13:45] [CL] 216 failed (will retry later)
If I go to process the queue manually, it seems to send one at a time.
Would I be better turning off batch size and setting a delay of, say, 6 seconds between emails?