The campaign overview nevertheless shows the status “sent”, even though no send attempts were made.
suitecrm.log shows no entries at all around the scheduled send time.
Campaign setup
Marketing type: Marketing (recipients subject to opt-out validation)
Target list: one subscription list (test list)
Scheduled run date: 29.10.2026 08:31
Tracker links: enabled
Duplicate handling: prevent sending to duplicate records and email addresses
Email Marketing Diagnostics
Setting
Value
Send Campaign Emails (scheduler)
Every 15 minutes
Queue Campaign Emails (scheduler)
Every 15 minutes
Run Nightly Process Bounced Campaign Emails
Hourly, 02:00–06:00
Bounce email exists
Yes
Outbound email connected
Yes
Campaign marketing items per run
3
Campaign emails per run
500
Campaign emails max retries
3
Error threshold per batch
10
Tracker links enabled
Yes
What has been done so far
The old scheduler job (“Run Nightly Mass Email Campaigns”) has been deactivated; only the two new jobs (Queue Campaign Emails and Send Campaign Emails) are active.
The schedulers are triggered as expected: cron is running and both new jobs show current “Last Run” timestamps matching their 15-minute interval. So the jobs are executed – they just don’t seem to process the queued emails.
Since there were no log entries at send time, our external IT set up a running messenger worker yesterday. This had no effect.
Questions
Since the schedulers run correctly, what could prevent the Send Campaign Emails job from picking up and sending the queued emails?
Why does the campaign show “sent” although nothing was attempted?
Is there anything specific that needs to be configured after a migration (messenger transport, queue tables, permissions, settings) for the new email marketing jobs to work?
Where should I look for logs, since suitecrm.log stays empty?
Any hints are greatly appreciated – thanks in advance!
SuiteCRM 8.10.2 – Email Marketing record jumps to “Sent” immediately, campaign emails stay in queue with 0 send attempts
After upgrading to SuiteCRM 8.10.2 (migration done by a third party), regular campaign emails are no longer sent. Before the upgrade, everything worked.
Behaviour
Email Marketing record is scheduled → “Queue Campaign Emails” job queues the emails correctly (they appear in the Email Queue / Message Queue)
Directly after queueing, the record status changes to “Sent” (never “Sending”)
The queued emails stay in emailman with 0 send attempts and “In Process” unchecked
“Send Campaign Emails” job runs every 15 minutes and finishes successfully, but never touches these emails
Clicking “Send Next Batch of Queued Emails” in the Email Queue doesn’t send them either
What works
Test emails from the Email Marketing record are delivered
Normal emails via the same outbound account are delivered
What I already checked
Schedulers scheduler::email-to-queue and scheduler::send-from-queue are active, every 15 min, last run successful
Campaign email settings: 3 marketing items per run, 500 emails per run, 3 max retries, error threshold 10
Send date is in the past, timezone is correct
Quick Repair & Rebuild: no schema differences on emailman, email_marketing, campaign_log, campaigns
Messenger worker is running (messenger:consume internal-async) as www-data, messenger_messages table is empty
No related errors in logs/prod/prod.log
Question
What makes the queue job set the Email Marketing record to “Sent” immediately after queueing? Does the send job only process records in status “sending”? Is this a known issue in 8.10.x, or could leftover customizations from the previous version cause this?
Yes, this matches a known SuiteCRM campaign-processing bug, although it was reportedly fixed before version 8.10.2. Leftover customizations or incomplete migration changes could also explain the behavior.
SuiteCRM previously had a bug in DefaultEmailQueueProcessor.php involving this condition:
if (empty($nextQueueEntries) && $isQueueingFinished) {
$this->setSent($emRecord);
}
When the processor found no further eligible queue entries and queueing was marked finished, it could mark the Email Marketing record as Sent, even when queued emails had not been successfully delivered.
Update: I found out why the campaign emails were not sent
The cause was a duplicate email address in the target list. It stops the sending process prematurely:
During queueing, the duplicate is correctly listed as Suppressed/Blocked
Right after that, the Email Marketing record is set to “Sent” – even before its scheduled run date (e.g. “Sent” at 16:40 for a run date of 16:45)
But no email is actually sent: the queued emails stay in the queue with 0 send attempts, and the campaign’s “Sent/Attempted” chart doesn’t increase
Since the record is already “Sent”, the send job never picks up these emails again – they stay in the queue forever
So the status “Sent” is simply wrong. This looks like the same code path as in the GitHub issue reported for 8.9.2, in DefaultEmailQueueProcessor.php:
if (empty($nextQueueEntries) && $isQueueingFinished) {
$this->setSent($emRecord);
}
Removing the duplicate:
Emails are sent normally, including when scheduled for a future date.
Open question:
I reproduced this with my test list. I don’t know yet whether our production newsletter list (which had the same problem) also contained a duplicate, or whether another kind of blocked/invalid address – e.g. an invalid or opted-out email – triggers the same behaviour. Since every recipient that gets blocked during queueing might lead into the same code path, I suspect the issue is not limited to duplicates.
Problem with this workaround:
Not all target lists are clean, and having to search every list for duplicates (and possibly other invalid addresses) before each mailing is annoying and error-prone. In SuiteCRM 7.x this worked fine: blocked recipients were simply skipped and all other emails were sent. So this is a regression, and a proper fix would be much appreciated.
I can confirm this issue on SuiteCRM 8.10.2 (migrated from 7.x), and I found a much more common trigger than failed sends.
Correction of my earlier assumption
At first I suspected that a duplicate email address in the target list caused the problem. Further tests showed that this was a coincidence: duplicates (and other blocked recipients, e.g. records without an email address) are not the cause. Mailings with a duplicate in the list are sent correctly, and mailings without any duplicate fail.
The real trigger: the time between scheduling and the run date
Whether a mailing is sent depends only on how much time lies between scheduling the record and its scheduled run date, relative to the scheduler runs:
The “Queue Campaign Emails” job queues the emails before the scheduled run date.
If the “Send Campaign Emails” job runs after queueing but before the run date, getEntriesToSend() returns no due entries.
Since queueing is finished, the code path mentioned above (DefaultEmailQueueProcessor.php, if (empty($nextQueueEntries) && $isQueueingFinished) setSent()) sets the record to “Sent”.
The emails stay in the queue with 0 send attempts and are never sent.
Reproduction (schedulers every 15 minutes, same target list for both tests):
Scheduled at 11:29 with run date 11:50 → queued at 11:30 → record set to “Sent” at 11:45 (before the run date) → emails never sent
Scheduled at 11:50 with run date 11:55 → queued and sent correctly at 12:00, because the run date had already passed when the emails were queued
So the root cause is that setSent() is called when there are no due entries, even though entries that are not yet due are still in the queue. This affects practically every newsletter planned in advance, and it fails silently: no log entries, and the status “Sent” suggests the mailing went out.
Workaround: schedule mailings with a run date of “now” or slightly in the past, so that the emails are already due when they are queued.