Your software
My Mautic version is: 3.3.2
My PHP version is: 7.3.27
Database version: Percona Server for MySQL 5.7.31-34
Your problem
Emails are not sent using campaigns !
I want to use queued email , for testing purpose I put 1 email every 5 min and I did the following steps:
-Create a segment that contains 3 users and publish it
-Create a 2 campaigns (transactional & marketing) and send 2 different emails
-Publish the campaigns and wait
-I got notifications with this message
There is no error in the logs !
Steps I have tried to fix the problem:
-Clear the cache
-Run cronjob manually to see if there is any error and double check the cron file (no issue)
-Check Path to the cache directory & to log directory (no issue)
-Upgrade to the last version of mautic (no issue)
-Delete & create the campaigns
-Test email sending from the configuration and send manual email (no issue)
-Added --env=prod at the end of every cron job
-Change the trigger from every 5min to every 1min…
This is my cron file
8,23,38,52 * * * * www-data php /var/www/html/bin/console mautic:segments:update > /var/log/cron.pipe 2>&1 --env=prod
*/5 * * * * www-data php /var/www/html/bin/console mautic:import > /var/log/cron.pipe 2>&1 --env=prod
5,20,35,50 * * * * www-data php /var/www/html/bin/console mautic:campaigns:rebuild > /var/log/cron.pipe 2>&1 --env=prod
2,17,32,47 * * * * www-data php /var/www/html/bin/console mautic:campaigns:trigger > /var/log/cron.pipe 2>&1 --env=prod
0,15,30,45 * * * * www-data php /var/www/html/bin/console mautic:messages:send > /var/log/cron.pipe 2>&1 --env=prod
0,15,30,45 * * * * www-data php /var/www/html/bin/console mautic:emails:send > /var/log/cron.pipe 2>&1 --env=prod
0,15,30,45 */1 * * * www-data php /var/www/html/bin/console mautic:email:fetch > /var/log/cron.pipe 2>&1 --env=prod
0,15,30,45 * * * * www-data php /var/www/html/bin/console mautic:social:monitoring > /var/log/cron.pipe 2>&1 --env=prod
0,15,30,45 * * * * www-data php /var/www/html/bin/console mautic:webhooks:process > /var/log/cron.pipe 2>&1 --env=pord
0,15,30,45 */1 * * * www-data php /var/www/html/bin/console mautic:broadcasts:send > /var/log/cron.pipe 2>&1 --env=prod
* 1 * * * www-data php /var/www/html/bin/console mautic:maintenance:cleanup --days-old=365 > /var/log/cron.pipe 2>&1 --env=prod
0 4 15 * * www-data php /var/www/html/bin/console mautic:iplookup:download > /var/log/cron.pipe 2>&1 --env=prod
*/5 * * * * www-data php /var/www/html/bin/console mautic:reports:scheduler > /var/log/cron.pipe 2>&1 --env=prod
0 5 10 * * www-data php /var/www/html/bin/console mautic:unusedip:delete > /var/log/cron.pipe 2>&1 --env=prod
I have tried many stuff and browse almost all issues in the forum and GitHub discussions but sadly I am blocked and my campaigns are not working .
This is what I get wen I run “php console mautic:campaigns:trigger”
Email configuration in mautic
Test email