# Mautic Campaigns

**URL:** <https://forum.mautic.org/t/mautic-campaigns/33795>\
**Category:** Product Support\
**Created:** [October 13, 2024, 10:33am UTC](https://forum.mautic.org/t/mautic-campaigns/33795 "2024-10-13T10:33:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris9575](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris9575/32/12966_2.png) [@chris9575](https://forum.mautic.org/u/chris9575)\
**Post date:** [October 13, 2024, 10:33am UTC](https://forum.mautic.org/t/mautic-campaigns/33795/1 "2024-10-13T10:33:11Z")

</div>

**Your software**  
My Mautic version is: v5.1.1  
My PHP version is: PHP Version 8.1.29  
My Database type and version is: 10.6.19-MariaDB

CRON  
/bin/console mautic:segments:update \>/dev/null 2\>&1` `/bin/console mautic:campaigns:update \>/dev/null 2\>&1` `/bin/console mautic:campaigns:trigger/dev/null 2\>&1` `/bin/console mautic:broadcasts:send --channel=email` `/bin/console mautic:messages:send \>/dev/null 2\>&1` `/bin/console mautic:emails:send \>/dev/null 2\>&1`

Hi  
I’m having problems sending my campaigns from a form.

I can send mass emails directly with the “send” button. Therefore, sending messages works.

I created a campaign form.  
I created a campaign from the form. Two messages must be sent.  
My form and my campaign are active.  
When I add a contact from my form, my form adds a new result but the first message of my campaign is not sent.

Do you have any idea why campaign messages are not being sent?  
Thanks  
Christian

---

<div class="post-metadata">

**Author:** ![chris9575](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris9575/32/12966_2.png) [@chris9575](https://forum.mautic.org/u/chris9575)\
**Post date:** [October 13, 2024, 2:21pm UTC](https://forum.mautic.org/t/mautic-campaigns/33795/2 "2024-10-13T14:21:06Z")

</div>

[quote=“chris9575, post:1, topic:33795”]  
CRON  
/bin/console mautic:segments:update \>/dev/null 2\>&1` `  
/bin/console mautic:campaigns:update \>/dev/null 2\>&1` `  
/bin/console mautic:campaigns:trigger/dev/null 2\>&1` `  
/bin/console mautic:broadcasts:send --channel=email` `  
/bin/console mautic:messages:send \>/dev/null 2\>&1` `  
/bin/console mautic:emails:send \>/dev/null 2\>&1`

I consulted my log  
[2024-10-13T16:09:01.864954+02:00] console.CRITICAL: Error thrown while running command “‘mautic:emails:send’”. Message: “Command “mautic:emails:send” is not defined. Did you mean one of these? mautic:broadcasts:send mautic:email:fetch mautic:emails:fetch mautic:messages:send” {“exception”:“[object] (Symfony\Component\Console\Exception\CommandNotFoundException(code: 0): Command "mautic:emails:send" is not defined.\n\nDid you mean one of these?\n mautic:broadcasts:send\n mautic:email:fetch\n mautic:emails:fetch\n mautic:messages:send at /home/cach2435/AUTRES-SITES/apprendre-le-fengshui.com/email/vendor/symfony/console/Application.php:720)”,“command”:“‘mautic:emails:send’”,“message”:“Command "mautic:emails:send" is not defined.\n\nDid you mean one of these?\n mautic:broadcasts:send\n mautic:email:fetch\n mautic:emails:fetch\n mautic:messages:send”} {“hostname”:“[floride.o2switch.net](http://floride.o2switch.net)”,“pid”:3406464}

I don’t understand because my CRON mautic:emails:send exist  
/bin/console mautic:emails:send \>/dev/null 2\>&1`

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [October 13, 2024, 3:12pm UTC](https://forum.mautic.org/t/mautic-campaigns/33795/3 "2024-10-13T15:12:22Z")

</div>

If you use qeueing, your cron job command is not up to date anymore:  
[https://docs.mautic.org/en/5.x/configuration/cron\_jobs.html#process-email-queue-cron-job](https://docs.mautic.org/en/5.x/configuration/cron_jobs.html#process-email-queue-cron-job)

That one will process your queue:  
php /path/to/mautic/bin/console messenger:consume email

---

<div class="post-metadata">

**Author:** ![chris9575](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/chris9575/32/12966_2.png) [@chris9575](https://forum.mautic.org/u/chris9575)\
**Post date:** [October 13, 2024, 3:47pm UTC](https://forum.mautic.org/t/mautic-campaigns/33795/4 "2024-10-13T15:47:11Z")

</div>

Thank you very much @dirk_s  
Indeed, there is a clear improvement by adding .  
console messenger:consume email  
I receive emails.  
I will do other tests tonight to see if everything works normally  
Have a great day
