# Mautic doesn't send campaigns when triggered.

**URL:** https://forum.mautic.org/t/mautic-doesnt-send-campaigns-when-triggered/6519
**Category:** Product Support
**Created:** [November 11, 2016, 2:39pm UTC](https://forum.mautic.org/t/mautic-doesnt-send-campaigns-when-triggered/6519 "2016-11-11T14:39:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Cijo](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@Cijo](https://forum.mautic.org/u/Cijo)
#### Post date: [November 11, 2016, 2:39pm UTC](https://forum.mautic.org/t/mautic-doesnt-send-campaigns-when-triggered/6519/1 "2016-11-11T14:39:37Z")

</div>

I can see the leads being updated and segmented. But it won’t send the emails.  
  
  
  
If you send an email directly as an action on a form signup, it works. It even works when you send test emails. but campaign emails based on triggers just won’t go.  
  
  
  
I think the problem was in

Code:

mautic:campaigns:trigger

  
I made sure the cron jobs are all set up correctly, according to the latest standards.  
  
Here's the error it gives me for the campaigns:trigger cron job:

Code:

/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory

  
What do you think I should do?

---

<div class="post-metadata">

### Author: ![Cijo](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@Cijo](https://forum.mautic.org/u/Cijo)
#### Post date: [November 11, 2016, 2:39pm UTC](https://forum.mautic.org/t/mautic-doesnt-send-campaigns-when-triggered/6519/2 "2016-11-11T14:39:37Z")

</div>

I can see the leads being updated and segmented. But it won’t send the emails.

If you send an email directly as an action on a form signup, it works. It even works when you send test emails. but campaign emails based on triggers just won’t go.

I think the problem was in `mautic:campaigns:trigger `

I made sure the cron jobs are all set up correctly, according to the latest standards.

Here’s the error it gives me for the campaigns:trigger cron job:

```auto
/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
```

What do you think I should do?
