# Campaigns Not Sending

**URL:** <https://forum.mautic.org/t/campaigns-not-sending/6280>\
**Category:** Product Support\
**Created:** [October 19, 2016, 8:29am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280 "2016-10-19T08:29:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pushlogic](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@pushlogic](https://forum.mautic.org/u/pushlogic)\
**Post date:** [October 19, 2016, 8:29am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/1 "2016-10-19T08:29:40Z")

</div>

To whom that help,  
  
  
  
We currently have the latest install of MAUTIC, on a Digital Ocean VPS, all is working great, however no matter what workflow we implement for a CAMPAIGN to kick in and dispatch a auto reply email after a customer has read the Email we send from Mautic install - absolutely nothing works.  
  
  
  
Mautic logs give out the following - mautic.ERROR: Deprecation: The alias option of the form.type\_extension tag of service “fos\_rest.form.extension.csrf\_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended\_type option instead.  
  
  
  
We aren’t entirely sure what that issue above relates too. Any help or guidance in the right direction into getting this issue fixed would be greatly appreciated.  
  
  
  
P

---

<div class="post-metadata">

**Author:** ![pushlogic](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@pushlogic](https://forum.mautic.org/u/pushlogic)\
**Post date:** [October 19, 2016, 8:29am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/2 "2016-10-19T08:29:40Z")

</div>

To whom that help,

We currently have the latest install of MAUTIC, on a Digital Ocean VPS, all is working great, however no matter what workflow we implement for a CAMPAIGN to kick in and dispatch a auto reply email after a customer has read the Email we send from Mautic install - absolutely nothing works.

Mautic logs give out the following - mautic.ERROR: Deprecation: The alias option of the form.type\_extension tag of service “fos\_rest.form.extension.csrf\_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended\_type option instead.

We aren’t entirely sure what that issue above relates too. Any help or guidance in the right direction into getting this issue fixed would be greatly appreciated.

P

---

<div class="post-metadata">

**Author:** ![Elenchus](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@Elenchus](https://forum.mautic.org/u/Elenchus)\
**Post date:** [October 20, 2016, 12:45am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/3 "2016-10-20T00:45:51Z")

</div>

According to @MxyzptlkFishStix that’s not really an error:  
[https://www.mautic.org/community/index.php/5327-issues-with-version-2-1/0](https://www.mautic.org/community/index.php/5327-issues-with-version-2-1/0)

What do you mean by ‘absolutely nothing works’? Are any emails sending at all? Are any of the sent emails being shown as read?

---

<div class="post-metadata">

**Author:** ![pushlogic](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@pushlogic](https://forum.mautic.org/u/pushlogic)\
**Post date:** [October 21, 2016, 12:18pm UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/4 "2016-10-21T12:18:03Z")

</div>

@Elenchus excellent thanks for getting back to us so quickly. I read that thread from FishStix, and many others relating to that log message. They all seem to be cron related in some sort of a way. Our issue that our Campaign and their associated actions arent working at all. So for e.g

We created a list of subscribers, then attach that list to Campaign action and once we send out that email to that new created email list we require the campaign actions to kick in and auto dispatch a second email to the user that has opened the 1st email we sent.

Hope that kinda makes sense?

looking forward to any guidance or help.

PL

---

<div class="post-metadata">

**Author:** ![Elenchus](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@Elenchus](https://forum.mautic.org/u/Elenchus)\
**Post date:** [October 25, 2016, 9:37pm UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/5 "2016-10-25T21:37:12Z")

</div>

Can you tell me at which point it stops working? IE. Are your subscribers being added to the list; if so are they being put on to the campaign; if so is the email listed as sent but not actually sent, etc.

---

<div class="post-metadata">

**Author:** ![unify](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/unify/32/106_2.png) [@unify](https://forum.mautic.org/u/unify)\
**Post date:** [October 25, 2016, 9:41pm UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/6 "2016-10-25T21:41:08Z")

</div>

I have a similar problem and contacts are being added, but the mautic:campaigns:trigger doesn’t work. It throws an error. All the other cron jobs work (as far as I can tell).

[https://www.mautic.org/community/index.php/5760-cron-error-mautic-not-sending/p1#p16193](https://www.mautic.org/community/index.php/5760-cron-error-mautic-not-sending/p1#p16193)

---

<div class="post-metadata">

**Author:** ![Elenchus](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@Elenchus](https://forum.mautic.org/u/Elenchus)\
**Post date:** [October 25, 2016, 10:10pm UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/7 "2016-10-25T22:10:07Z")

</div>

Cheers @unify, I’ve put an answer up there for you. @pushlogic, are you able to check your cron errors as in unify’s post?

---

<div class="post-metadata">

**Author:** ![pushlogic](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@pushlogic](https://forum.mautic.org/u/pushlogic)\
**Post date:** [October 27, 2016, 8:16am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/8 "2016-10-27T08:16:47Z")

</div>

@Elenchus Thanks for getting back to us. we ran a number of Cron commands via SSH and none came up with any errors that we can see as per the follow results, bearing in mind this is based on a old campaign & action workflow thats in the system, we are yet to try setting up a new campaign and then processing it via command line which we are in the process of doing now, hopefully that heeds some results in the way of error or actual numbers against the executed line below.

command to find the PHP V gives us the follow:

`PHP 5.6.26 (cli) (built: Oct 10 2016 10:29:34) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies`

Then running each of the above Cron Commands gives us the following results:

[code]/usr/local/bin/php app/console mautic:segments:update  
Rebuilding contacts for segment 5  
0 total contact(s) to be added in batches of 300  
total contact(s) to be removed in batches of 300  
0 contact(s) affected

Rebuilding contacts for segment 1  
0 total contact(s) to be added in batches of 300  
total contact(s) to be removed in batches of 300  
0 contact(s) affected

usr/local/bin/php app/console mautic:segments:rebuild  
Rebuilding contacts for segment 5  
0 total contact(s) to be added in batches of 300  
total contact(s) to be removed in batches of 300  
0 contact(s) affected

Rebuilding contacts for segment 1  
0 total contact(s) to be added in batches of 300  
total contact(s) to be removed in batches of 300  
0 contact(s) affected

/usr/local/bin/php app/console mautic:campaigns:trigger  
Triggering events for campaign 19  
Triggering first level events  
0 total events(s) to be processed in batches of 100  
0 event(s) executed

Triggering scheduled events  
0 total events(s) to be processed in batches of 100  
0 event(s) executed

Triggering ‘non-action’ events  
0 event(s) executed

Triggering events for campaign 21  
Triggering first level events  
1 total events(s) to be processed in batches of 100  
1/1 [============================] 100%  
1 event(s) executed

Triggering scheduled events  
0 total events(s) to be processed in batches of 100  
0 event(s) executed

Triggering ‘non-action’ events  
0 event(s) executed

/usr/local/bin/php app/console mautic:emails:send  
Mautic is not set to queue email.

/usr/local/bin/php app/console doctrine:schema:update  
ATTENTION: This operation should not be executed in a production environment.  
Use the incremental update to detect changes during development and use  
the SQL DDL provided to manually update your database in production.

The Schema-Tool would execute “49” queries to update the database.  
Please run the operation by passing one - or both - of the following options:  
doctrine:schema:update --force to execute the command  
doctrine:schema:update --dump-sql to dump the SQL statements to the screen

/usr/local/bin/php app/console doctrine:schema:update --force  
Updating database schema…  
Database schema updated successfully! “49” queries were executed[/code]

---

<div class="post-metadata">

**Author:** ![Elenchus](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@Elenchus](https://forum.mautic.org/u/Elenchus)\
**Post date:** [October 28, 2016, 1:40am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/9 "2016-10-28T01:40:35Z")

</div>

Your email’s not set to queue, which suggests that cron is not the cause of your email problems. Have you tried sending a test email through the email config settings? If that works, also try setting your email to queue (which does require cron jobs to be setup) - queue is more stable if there’s a lot of emails being sent.

Also, you still haven’t mentioned at which point things are breaking down, which makes it more difficult to troubleshoot. Are your contacts getting placed into a segment? Are they getting from the segment to the campaign?

---

<div class="post-metadata">

**Author:** ![swip](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@swip](https://forum.mautic.org/u/swip)\
**Post date:** [October 28, 2016, 6:08pm UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/10 "2016-10-28T18:08:35Z")

</div>

Do you have frequency settings enabled?

Right-hand wheel icon -\> Configuration -\> Email Settings -\> Do not contact more than X times(s)…

If you have anything there and you’ve already sent that many mailings to your subscribers for the set time period, this would be why “nothing is working.”

---

<div class="post-metadata">

**Author:** ![dieguraa](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dieguraa](https://forum.mautic.org/u/dieguraa)\
**Post date:** [October 28, 2017, 11:39am UTC](https://forum.mautic.org/t/campaigns-not-sending/6280/11 "2017-10-28T11:39:12Z")

</div>

Hi,

I am also having some issues with campaign emails. I have created the form, emails and workflow, and it all seems to be working fine but when it comes to sending the first email of the workflow it just doesn’t.

Is strange because if I add an autoresponder to the form, then the email is sent fine. When I try doing it with the campaign’s workflow, leads are being included in the campaign but then the email is not delivered.

Any help on this it would be much appreciated. I have tried all the possible ways I’ve found but can’t make it work.

Thanks
