Your software
My Mautic version is: v6.0.4
My PHP version is: 8.2.29
My Database type and version is: 10.11.11-MariaDB-0+deb12u1
Your problem
Hi All, I am testing out campaigns for the first time and I am running into an issue where the first email in the campaign is not being sent out. I am pretty certain my cronjobs are set up correctly. And I’ve been sending out emails fine with segment emails today.
Part of the campaign looks like this:
As you can see, the “Send or schedule email” step, 3 out of 3 contacts are stuck in pending. This is what this step looks like
I’d expect the emails to try to be sent out already as it is past 10:30am. I set this campaign up last night.
I’ve manually ran php /var/www/html/mautic/bin/console mautic:campaigns:trigger and this is the output:
I have no idea what 2 total decisions(s) to be analyzed for inactivity means. I don’t see any docs for this message, but maybe someone knows what it means.
For logs I checked prod-2025-09-02.php and there are 2 SMTP 421 errors in there. But when I try to run the trigger job, it doesn’t append to this log, so it seems Mautic is deciding not to try to send out the emails.
mautic/var/spool is empty.
mautic_prod-2025-09-02.php has 2 entries of ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) error, but I don’t think this is relevant?
Does anyone have any ideas why these emails are stuck in pending?
I don’t know why, but I am not seeing the screenshot images display on my post properly, even though they show up fine when I go to edit the post. But maybe its just an issue on my end. Let me know if you can’t see these images
Your software
My Mautic version is: v6.0.4
My PHP version is: 8.2.29
My Database type and version is: 10.11.11-MariaDB-0+deb12u1
Your problem
Hi All, I am testing out campaigns for the first time and I am running into an issue where the first email in the campaign is not being sent out. I am pretty certain my cronjobs are set up correctly. And I’ve been sending out emails fine with segment emails today.
I have no idea what 2 total decisions(s) to be analyzed for inactivity means. I don’t see any docs for this message, but maybe someone knows what it means.
For logs I checked prod-2025-09-02.php and there are 2 SMTP 421 errors in there. But when I try to run the trigger job, it doesn’t append to this log, so it seems Mautic is deciding not to try to send out the emails.
mautic/var/spool is empty.
mautic_prod-2025-09-02.php has 2 entries of ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) error, but I don’t think this is relevant?
Does anyone have any ideas why these emails are stuck in pending?
As an update, on Tuesday night at 9:18p, the emails were finally sent out. Zero clue why this happened. Nothing in the logs.
Also another email is supposed to go out at 10:30am ET today, but still hasn’t.
Timed segment emails have been working fine for me.
I am at a complete loss here. Any debugging tips would be greatly appreciated. I am somewhat familiar with PHP, so not afraid to stick in some log statements if anyone knows where to put them.