Your software
My Mautic version is: 4.4.9
My PHP version is: 7.4.3
My Database type and version is: mySQL 5.7.25
Your problem
My problem is:
I have created a very simple Double Opt in campain. Registratration form, confirmation e-mail, confirmation page are set up. Campaing workflow too.
User enters data
check if user e-mail is already in database
if yes - stop
if no - send confirmation mail
then proceed to add contact to segment
then end
very simple.
Entering the user details goes fine, data is also transfered to Mautic and contact put into the right segment. BUT no confirmation e-mail is sent. (Sending a test mail to the address works fine)
These errors are showing in the log: No errors show up
Steps I have tried to fix the problem: Set up a super simple DOI workflow, but had the same result.
Compare the full path and command for the crons that are working with the ones that are not and look for differences. I can only think there has been a mistake in how the segment cron has been loaded.
Another thing that came to my mind… could it be that the segment is somehow faulty? I have imported my contacts from another newsletter tool and maybe there ist something wrong here…?
If the segment is updating as expected when you run cron’s manually then I suspect your segment is fine. But to double check create a new segment, apply a filter and see if the new segment updates when the crons fire on schedule. That way you can test if the segment ofthe imported contats is the issue or some deeper system issue.
That is exactly what I am doing right now. Created a second segment with just a few contacts. Looking forward to see if the cron is working on that one.
Try mautic:campaigns:rebuild command
If that doesn’t work double check the filters within the segment to make sure they are correct. Sometimes disabling the segment and re-enable with “unstick” a “stuck” segment