# Know the "state" of a campaign that is not properly sending the emails

**URL:** https://forum.mautic.org/t/know-the-state-of-a-campaign-that-is-not-properly-sending-the-emails/25975
**Category:** General Discussion
**Created:** [November 6, 2022, 8:31pm UTC](https://forum.mautic.org/t/know-the-state-of-a-campaign-that-is-not-properly-sending-the-emails/25975 "2022-11-06T20:31:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![xmontero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/xmontero/32/7499_2.png) [@xmontero](https://forum.mautic.org/u/xmontero)
#### Post date: [November 6, 2022, 8:31pm UTC](https://forum.mautic.org/t/know-the-state-of-a-campaign-that-is-not-properly-sending-the-emails/25975/1 "2022-11-06T20:31:01Z")

</div>

I’ve been using mautic to capture emails in forms, but I did not have any automation.

I want now to send email sequences.

I’ve setup a test campaign with 4 emails. I’ve entered one test user into the campaign.

But I’m not receiving the emails.

I don’t have access via SSH, it’s hosted in a php hosting where I have access via a web-based file-manager and a web-based mysql-client.

In the crons I call those every 15 mins:

```
mautic:segments:update
mautic:campaigns:update
mautic:campaigns:trigger
mautic:emails:send
mautic:broadcasts:send

```

How can I debug what’s happening behind the scenes? reading the DB maybe? reading some kind of logs?

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [November 7, 2022, 3:18pm UTC](https://forum.mautic.org/t/know-the-state-of-a-campaign-that-is-not-properly-sending-the-emails/25975/2 "2022-11-07T15:18:18Z")

</div>

Hi, there is a debug flag in app/config/local.php

You can set it to true, then inspect log files in var/logs. It might help you with debugging.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [November 8, 2022, 7:51am UTC](https://forum.mautic.org/t/know-the-state-of-a-campaign-that-is-not-properly-sending-the-emails/25975/3 "2022-11-08T07:51:21Z")

</div>

Hi, here is the Mautic knowledge base regarding email troubleshooting: 10 things to check

> **[Email sending doesn't work - here are 10 things to check - Knowledge Base](https://kb.mautic.org/article/email-sending-doesn-039%3bt-work-here-are-10-things-to-check.html)**
>
> This article will help you to identify email sending problems in Mautic.

Joey

---

<div class="post-metadata">

### Author: ![xmontero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/xmontero/32/7499_2.png) [@xmontero](https://forum.mautic.org/u/xmontero)
#### Post date: [November 8, 2022, 9:30am UTC](https://forum.mautic.org/t/know-the-state-of-a-campaign-that-is-not-properly-sending-the-emails/25975/4 "2022-11-08T09:30:45Z")

</div>

Huh, nice guide!! Will check it all! Thnx!
