# Simple campain doesn't send emails

**URL:** <https://forum.mautic.org/t/simple-campain-doesnt-send-emails/10244>\
**Category:** Product Support\
**Created:** [February 17, 2018, 10:56am UTC](https://forum.mautic.org/t/simple-campain-doesnt-send-emails/10244 "2018-02-17T10:56:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![follower](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@follower](https://forum.mautic.org/u/follower)\
**Post date:** [February 17, 2018, 10:56am UTC](https://forum.mautic.org/t/simple-campain-doesnt-send-emails/10244/1 "2018-02-17T10:56:41Z")

</div>

Hi Mautic friend!  
I’m getting crazy. I have set a simple campain: when I manually switch a user to a specific segment then send email, see the picture attached. but no email is sent. If I send email manunally, it works… What I’m doing wrong ?

![null](https://imgur.com/a/Nhkue)

---

<div class="post-metadata">

**Author:** ![follower](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@follower](https://forum.mautic.org/u/follower)\
**Post date:** [February 17, 2018, 10:59am UTC](https://forum.mautic.org/t/simple-campain-doesnt-send-emails/10244/2 "2018-02-17T10:59:04Z")

</div>

![null](https://follower-automatici.co/Schermata%20del%202018-02-17%2016.53.09.png)

---

<div class="post-metadata">

**Author:** ![follower](https://avatars.discourse-cdn.com/v4/letter/f/45deac/32.png) [@follower](https://forum.mautic.org/u/follower)\
**Post date:** [February 17, 2018, 11:03am UTC](https://forum.mautic.org/t/simple-campain-doesnt-send-emails/10244/3 "2018-02-17T11:03:13Z")

</div>

Here the log:

`[2018-02-17 10:37:15] mautic.WARNING: PHP Warning - Error while sending QUERY packet. PID=321456 - in file /home/killyk5/public\_html/follower/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php - at line 105 [] []  
[2018-02-17 10:37:15] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: “An exception occurred while executing ‘SELECT t0.id AS id\_1, t0.ip\_address AS ip\_address\_2, t0.ip\_details AS ip\_details\_3 FROM mau\_ip\_addresses t0 WHERE t0.ip\_address = ? LIMIT 1’ with params [“185.48.143.2”]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away” at /home/killyk5/public\_html/follower/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 {“exception”:"[object] (Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred while executing ‘SELECT t0.id AS id\_1, t0.ip\_address AS ip\_address\_2, t0.ip\_details AS ip\_details\_3 FROM mau\_ip\_addresses t0 WHERE t0.ip\_address = ? LIMIT 1’ with params [“185.48.143.2”]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /home/killyk5/public\_html/follower/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115, Doctrine\DBAL\Driver\PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /home/killyk5/public\_html/follower/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:107, PDOException(code: HY000): SQLSTATE[HY000]: General error: 2006 MySQL server has gone away at /home/killyk5/public\_html/follower/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105)"} []
