Campaign Emails not Sending after update

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?

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?

Also get this error: PHP Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{’ or ‘$’

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?

I also answered this at 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.

@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