Your software
My Mautic version is: 5.2.1
My PHP version is: 8.1
My Database type and version is: mysql
Your problem
My problem is:
Created a test campaign to send an email and SMS.
SMS is sent email is not.
Created a campaign with just email - email is sent
Created a campaign with just SMS - SMS is sent
Hello @cfipilot,
You didn’t provide much detail about your issue, which makes it a bit difficult to help.
First, is your SMTP properly configured? Go to Settings > Configurations > Email Settings and check the **Email DSN to ensure it’s set up correctly. You can also use the “Send test email” option to confirm that everything is working as expected.
If you’re using an external service or plugin (Amazon SES for example), double-check with their support or documentation to make sure everything is properly set up.
Additionally, review your error logs to see if any relevant messages appear that might indicate the issue.
Did your campaigns work before and suddenly stop, or is this your first campaign? This detail can help narrow down potential causes.
Let me know, and I’ll do my best to help.
Best regards,
Ricardo
Created a campaign with just email - email is sent
Created a campaign with just SMS - SMS is sent
These would indicate that email/SMS was setup correctly.
No Errors in logs.
[2025-02-18T04:31:02.013137+00:00] mautic.DEBUG: CAMPAIGN: Triggering kickoff events {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.023228+00:00] mautic.DEBUG: CAMPAIGN: Processing the following events: 42, 43 {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.032039+00:00] mautic.DEBUG: CAMPAIGN: Processing the following contacts: 1 {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.046619+00:00] mautic.DEBUG: CAMPAIGN: (42) Executing immediately {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.046707+00:00] mautic.DEBUG: CAMPAIGN: Event ID# 42 to be executed on 2025-02-18 04:31:02 UTC compared to 2025-02-18 04:31:02 UTC {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.047006+00:00] mautic.DEBUG: CAMPAIGN: (43) Executing immediately {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.047069+00:00] mautic.DEBUG: CAMPAIGN: Event ID# 43 to be executed on 2025-02-18 04:31:02 UTC compared to 2025-02-18 04:31:02 UTC {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.047168+00:00] mautic.DEBUG: CAMPAIGN: (42) Executing immediately {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.047221+00:00] mautic.DEBUG: CAMPAIGN: Event ID# 42 to be executed on 2025-02-18 04:31:01 UTC {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.047280+00:00] mautic.DEBUG: CAMPAIGN: (43) Executing immediately {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.047319+00:00] mautic.DEBUG: CAMPAIGN: Event ID# 43 to be executed on 2025-02-18 04:31:01 UTC {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.088735+00:00] mautic.DEBUG: Segment QB: Segment has no filters {"segmentId":1} {"hostname":"33e62a45d7ef","pid":415}
[2025-02-18T04:31:02.088960+00:00] mautic.INFO: Segment QB - No new leads for segment found {"hostname":"33e62a45d7ef","pid":415}
[2025-02-18T04:31:02.091319+00:00] mautic.DEBUG: Segment QB: Orphan Leads Count SQL: SELECT count(leadIdPrimary) count, max(leadIdPrimary) maxId, min(leadIdPrimary) minId FROM (SELECT DISTINCT orp.lead_id as leadIdPrimary, orp.lead_id as id, orp.leadlist_id FROM lead_lists_leads orp WHERE (orp.leadlist_id = 1) AND (orp.manually_added = '0') AND (orp.lead_id NOT IN (SELECT l.id FROM leads l))) sss {"segmentId":1} {"hostname":"33e62a45d7ef","pid":415}
[2025-02-18T04:31:02.093542+00:00] mautic.DEBUG: Segment QB: Query took: 00:00:00.002099, Result count: 3 {"segmentId":1} {"hostname":"33e62a45d7ef","pid":415}
[2025-02-18T04:31:02.119284+00:00] mautic.DEBUG: CAMPAIGN: Executing sms.send_text_sms ID 42 {"hostname":"33e62a45d7ef","pid":413}
[2025-02-18T04:31:02.120147+00:00] mautic.DEBUG: LEAD: 1 set as system lead. {"hostname":"33e62a45d7ef","pid":413}
event 42 is SMS
event 43 is EMAIL
You can see email is doesnt get queued
I was able to make it work by delaying the email 1 min. I think there is a bug on trigger 2 events at the same time and using rabbitmq queues. I havent tested with just crons. But i would think with queues it should be FIFO.