# Emails not being sent

**URL:** https://forum.mautic.org/t/emails-not-being-sent/4955
**Category:** Product Support
**Created:** [August 18, 2016, 5:59pm UTC](https://forum.mautic.org/t/emails-not-being-sent/4955 "2016-08-18T17:59:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pendeen560](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@pendeen560](https://forum.mautic.org/u/pendeen560)
#### Post date: [August 18, 2016, 5:59pm UTC](https://forum.mautic.org/t/emails-not-being-sent/4955/1 "2016-08-18T17:59:15Z")

</div>

Hi,  
  
  
  
My emails are not being sent.  
  
  
  
What does this error message suggest?  
  
  
  
Triggering events for campaign 2  
  
Triggering first level events  
  
0 total events(s) to be processed in batches of 100  
  
0 event(s) executed  
  
  
  
Triggering scheduled events  
  
1 total events(s) to be processed in batches of 100  
  
0/1 [\>---------------------------] 0%PHP Parse error: syntax error, unexpected ‘class’ (T\_CLASS), expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‘{’ or ‘$’ in /home/bri123/email/app/bundles/EmailBundle/Entity/Email.php on line 299

---

<div class="post-metadata">

### Author: ![pendeen560](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@pendeen560](https://forum.mautic.org/u/pendeen560)
#### Post date: [August 18, 2016, 5:59pm UTC](https://forum.mautic.org/t/emails-not-being-sent/4955/2 "2016-08-18T17:59:15Z")

</div>

Hi,

My emails are not being sent.

What does this error message suggest?

Triggering events for campaign 2  
Triggering first level events  
0 total events(s) to be processed in batches of 100  
0 event(s) executed

Triggering scheduled events  
1 total events(s) to be processed in batches of 100  
0/1 [\>---------------------------] 0%PHP Parse error: syntax error, unexpected ‘class’ (T\_CLASS), expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‘{’ or ‘$’ in /home/bri123/email/app/bundles/EmailBundle/Entity/Email.php on line 299

---

<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:55pm UTC](https://forum.mautic.org/t/emails-not-being-sent/4955/3 "2016-09-13T18:55:27Z")

</div>

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.
