# Campaign Emails not Sending after update

**URL:** https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257
**Category:** Product Support
**Created:** [September 7, 2016, 8:30pm UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257 "2016-09-07T20:30:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![xavivalentino](https://avatars.discourse-cdn.com/v4/letter/x/71c47a/32.png) [@xavivalentino](https://forum.mautic.org/u/xavivalentino)
#### Post date: [September 7, 2016, 8:30pm UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257/1 "2016-09-07T20:30:20Z")

</div>

After an update to 2.1.1 (latest version), my campaign emails show as sent on the dashboard, however, the emails are never delivered or sent in reality. I have checked my email logs, and confirmed from some leads, and they have not received any emails despite being shown as sent in mautic. Any help or insight on how to resolve this?

---

<div class="post-metadata">

### Author: ![xavivalentino](https://avatars.discourse-cdn.com/v4/letter/x/71c47a/32.png) [@xavivalentino](https://forum.mautic.org/u/xavivalentino)
#### Post date: [September 7, 2016, 8:30pm UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257/2 "2016-09-07T20:30:20Z")

</div>

After an update to 2.1.1 (latest version), my campaign emails show as sent on the dashboard, however, the emails are never delivered or sent in reality. I have checked my email logs, and confirmed from some leads, and they have not received any emails despite being shown as sent in mautic. Any help or insight on how to resolve this?

---

<div class="post-metadata">

### Author: ![xavivalentino](https://avatars.discourse-cdn.com/v4/letter/x/71c47a/32.png) [@xavivalentino](https://forum.mautic.org/u/xavivalentino)
#### Post date: [September 7, 2016, 8:41pm UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257/3 "2016-09-07T20:41:38Z")

</div>

Also get this error: PHP Parse error: syntax error, unexpected ‘class’ (T\_CLASS), expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‘{’ or ‘$’

---

<div class="post-metadata">

### Author: ![xavivalentino](https://avatars.discourse-cdn.com/v4/letter/x/71c47a/32.png) [@xavivalentino](https://forum.mautic.org/u/xavivalentino)
#### Post date: [September 8, 2016, 4:35am UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257/4 "2016-09-08T04:35:57Z")

</div>

> [@15443:@MxyzptlkFishStix](#):
>
> [Requirements - Mautic Community](https://www.mautic.org/download/requirements/)

Here is my setup:

- php version 5.6.24
- MySQL 5.6.48-37.8

I think this meets the minimum requirements. Is there something I’m missing?

---

<div class="post-metadata">

### Author: ![adamgo](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@adamgo](https://forum.mautic.org/u/adamgo)
#### Post date: [September 13, 2016, 6:57pm UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257/5 "2016-09-13T18:57:07Z")

</div>

I also answered this at [https://www.mautic.org/community/index.php/5313-emails-not-being-sent/2016/8:](https://www.mautic.org/community/index.php/5313-emails-not-being-sent/2016/8:)

I had the same thing happening to me. I’m on a server managed by plesk, which allows multiple PHP versions for different websites. My mautic site is on 5.6.24, but the server default is 5.4, which is what was running the cron jobs. I changed the cron jobs to use the 5.6 php CLI and they started working.

---

<div class="post-metadata">

### Author: ![alainarae](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@alainarae](https://forum.mautic.org/u/alainarae)
#### Post date: [March 8, 2017, 11:54pm UTC](https://forum.mautic.org/t/campaign-emails-not-sending-after-update/5257/6 "2017-03-08T23:54:04Z")

</div>

@adamgo How did you change the cron jobs to 5.6 php CLI? I have updated my php to 7.0, but do not know how to update what the cron jobs use…

thanks!

never mind - here is the fix  
[https://www.mautic.org/community/index.php/7167-campaign-emails-not-sent-fixed-parse-error-line-136-php-for-cro](http://example.com)
